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 = GL_UNSIGNED_BYTE)
class Texture
void
create
(
,,,,,int type = GL_UNSIGNED_BYTE )
d2drenderingtextureTexture
constructorsfunctionspropertiesvariables
Creates a width x height texture containing the pixel data in inMode format using type as array type and internally convertes to mode.