Class: AxDeviceTexture2D

AxDeviceTexture2D()

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:

Documentation generated by JSDoc 3.5.3 on Mon Feb 19 2018 20:39:26 GMT+0200 (FLE Standard Time)