Texture.create
- void create(uint width, uint height, void[] pixels)
- void create(uint width, uint height, int mode, void[] pixels)
- void create(uint width, uint height, int inMode, int mode, void[] pixels, int type)
class Texture
void
create
(,,,,,int type = GL_UNSIGNED_BYTE )
D2DGame Rendering Texture Texture
constructorsdestructorsfunctionspropertiesstatic functionsvariables
Creates a width x height texture containing the pixel data in inMode format using type as array type and internally convertes to mode.