hxn

TextureFormat

  • Over Int

A texture's pixel format.

Values

  • R8Unorm = 0
  • Rgba8Unorm = 1
  • Rgba8UnormSrgb = 2
  • Bgra8Unorm = 3
  • Bgra8UnormSrgb = 4
  • R32Float = 5
  • Rgba16Float = 6
  • Rgba32Float = 7

Fields and methods

function bytesPerPixel():Int

Bytes per pixel.

function toString():String