Kanzi Java API
Texture Class Reference
Inheritance diagram for Texture:
[legend]
Collaboration diagram for Texture:
[legend]

Public Member Functions

void close ()
 
long getFaceCount ()
 Returns the face count of this texture. More...
 
GraphicsFormat getFormat ()
 Returns the GraphicsFormat of this texture. More...
 
long getGPUMemoryUsage ()
 Returns the GPUMemoryUsage of this texture. More...
 
long getHeight ()
 Returns the height of this texture. More...
 
long getMipmapLevelCount ()
 Returns the mipmap level count of this texture. More...
 
long getSliceCount ()
 Returns the slice count of this texture. More...
 
long getWidth ()
 Returns the width of this texture. More...
 
boolean isDeployed ()
 Returns whether the texture is deployed or not. More...
 
- Public Member Functions inherited from Resource
String getName ()
 Gets the resource name. More...
 
String getUrl ()
 Gets the resource URL. More...
 
void setKeepAlive (boolean keepAlive)
 Sets the keep alive flag. More...
 
- Public Member Functions inherited from KanziObject
boolean equals (Object object)
 
Domain getDomain ()
 Returns the domain the object belongs to. More...
 
Metaclass getDynamicMetaclass ()
 Returns the metaclass of the dynamic type of the object. More...
 
boolean isStale ()
 Test if the object is stale i.e. More...
 
void releaseOwnership ()
 Release ownership of the backing native object from this object. More...
 
void removeLocalValue (PropertyType propertyType)
 Removes the local value associated with the property. More...
 
boolean takeOwnership ()
 Take ownership of the backing native object in this object. More...
 

Static Public Member Functions

static Metaclass getStaticMetaclass ()
 Returns the metaclass of this class. More...
 
- Static Public Member Functions inherited from KanziObject
static Metaclass getStaticMetaclass ()
 Returns the metaclass of this class. More...
 

Additional Inherited Members

- Public Attributes inherited from Texture
AbstractMetaclass TextureMetaclass = new AbstractMetaclass("Kanzi.Texture")
 

Member Function Documentation

long getFaceCount ( )

Returns the face count of this texture.

Returns
The texture's face count.
GraphicsFormat getFormat ( )

Returns the GraphicsFormat of this texture.

Returns
The texture's GraphicsFormat.
long getGPUMemoryUsage ( )

Returns the GPUMemoryUsage of this texture.

Returns
The texture's GPUMemoryUsage.
long getHeight ( )

Returns the height of this texture.

Returns
The texture's height.
long getMipmapLevelCount ( )

Returns the mipmap level count of this texture.

Returns
The texture's mipmap level count.
long getSliceCount ( )

Returns the slice count of this texture.

Returns
The texture's slice count.
static Metaclass getStaticMetaclass ( )
static

Returns the metaclass of this class.

Returns
Static instance of metaclass of this node.
long getWidth ( )

Returns the width of this texture.

Returns
The texture's width.
boolean isDeployed ( )

Returns whether the texture is deployed or not.

Returns
The boolean indicating the texture's deployment status.