Fields

width:Int

  • Width of the texture

type:ResourceTextureType

  • The texture type. Supported values:

@:optionaloptionalpage_count:Null<Int>

  • Number of pages of the texture array. For 2D texture value is 1. For cube map - 6

mipmaps:Int

  • Number of mipmaps of the texture

height:Int

  • Height of the texture

handle:TextureResourceHandle

  • The opaque handle to the texture resource

@:optionaloptionalflags:Null<Int>

  • Usage flags of the texture.

depth:Int

  • Depth of the texture (i.e 1 for a 2D texture and 6 for a cube map)