Fields
- The width of the texture (in pixels)
@:optionaloptionalpage_count:Null<Int>
- Optional number of pages for a 2D texture array (when type is TEXTURE_TYPE_2D_ARRAY)
@:optionaloptionalnum_mipmaps:Null<Int>
- Optional number of mipmaps to generate or present in the optional buffer
- The height of the texture (in pixels)
- Optional flag to specify if mipmaps should be generated. Defaults to
false
@:optionaloptionalflags:Null<Int>
- Optional texture usage flags (bitmask) for the created texture
@:optionaloptionaldepth:Null<Int>
- Optional depth of the texture (required if type is TEXTURE_TYPE_CUBE_MAP (=6) or TEXTURE_TYPE_2D_ARRAY)
@:optionaloptionalbuffer:Null<Buffer>
- Optional buffer containing pixel data, the format of the pixel data must match the specified format field