public class TLspGLResourceCacheEvent extends Object
ILspGLResourceCache
.Modifier and Type | Class and Description |
---|---|
static class |
TLspGLResourceCacheEvent.Type
Describes the type of event.
|
Constructor and Description |
---|
TLspGLResourceCacheEvent(TLspGLResourceCacheEvent.Type aType,
ALspGLResource aResource)
Creates a new resource cache event of the given type for the given resource.
|
Modifier and Type | Method and Description |
---|---|
ALspGLResource |
getResource()
Gets the resource.
|
TLspGLResourceCacheEvent.Type |
getType()
Gets the type of this event.
|
public TLspGLResourceCacheEvent(TLspGLResourceCacheEvent.Type aType, ALspGLResource aResource)
aType
- type indicating whether the resource was just added, used, or removedaResource
- the resourcepublic TLspGLResourceCacheEvent.Type getType()
public ALspGLResource getResource()