new AxDeviceTexture2D()
Creates a new graphics device 2D texture
This constructor shouldn't be called explicity, but instead the graphics device should create its texture
- Source:
Methods
GetData(data)
Gets the pixel data of a texture
Parameters:
Name | Type | Description |
---|---|---|
data |
- Source:
Update(data, width, height)
Updates the texture with the given data
Parameters:
Name | Type | Description |
---|---|---|
data |
Integer | The pixel data to update the texture with |
width |
Integer | The width in pixels of the texture data |
height |
Integer | The height in pixels of the texture data |
- Source: