Interface ITexture2D
Defines the interface to a 2D Texture, a mall fixed-sized bitmap which can be update and rendered to the viewport
Implements
Namespace:
Assembly: .dll
Syntax
public interface ITexture2D extends IDisposable
Methods
getHeight()
Gets the height of texture in pixels
Declaration
public abstract int getHeight()
Returns
Type | Description |
---|---|
int | The height of texture in pixels |
getWidth()
Get the width of texture in pixels
Declaration
public abstract int getWidth()
Returns
Type | Description |
---|---|
int | The width of texture in pixels |