gfx.graal.format

Format description module

Members

Enums

Format
enum Format

The format of an Image.

FormatFeatures
enum FormatFeatures

Format features

NumFormat
enum NumFormat

numeric format of texel channels

SurfaceType
enum SurfaceType

Describes the components of a surface

Functions

formatDesc
FormatDesc formatDesc(Format fmt)

get the description of a format

Properties

alphaBits
uint alphaBits [@property getter]

Get the alphaBits of an image surface

alphaBits
uint alphaBits [@property getter]

Get the alphaBits of a format

alphaShift
uint alphaShift [@property getter]

Get the alphaShift of an image surface

alphaShift
uint alphaShift [@property getter]

Get the alphaShift of a format

blueBits
uint blueBits [@property getter]

Get the blueBits of an image surface

blueBits
uint blueBits [@property getter]

Get the blueBits of a format

blueShift
uint blueShift [@property getter]

Get the blueShift of an image surface

blueShift
uint blueShift [@property getter]

Get the blueShift of a format

colorBits
uint colorBits [@property getter]

Get the colorBits of an image surface

colorBits
uint colorBits [@property getter]

Get the colorBits of a format

depthBits
uint depthBits [@property getter]

Get the depthBits of an image surface

depthBits
uint depthBits [@property getter]

Get the depthBits of a format

greenBits
uint greenBits [@property getter]

Get the greenBits of an image surface

greenBits
uint greenBits [@property getter]

Get the greenBits of a format

greenShift
uint greenShift [@property getter]

Get the greenShift of an image surface

greenShift
uint greenShift [@property getter]

Get the greenShift of a format

numComponents
uint numComponents [@property getter]

Get the numComponents of an image surface

numComponents
uint numComponents [@property getter]

Get the numComponents of a format

redBits
uint redBits [@property getter]

Get the redBits of an image surface

redBits
uint redBits [@property getter]

Get the redBits of a format

redShift
uint redShift [@property getter]

Get the redShift of an image surface

redShift
uint redShift [@property getter]

Get the redShift of a format

sharedExpBits
uint sharedExpBits [@property getter]

Get the sharedExpBits of an image surface

sharedExpBits
uint sharedExpBits [@property getter]

Get the sharedExpBits of a format

stencilBits
uint stencilBits [@property getter]

Get the stencilBits of an image surface

stencilBits
uint stencilBits [@property getter]

Get the stencilBits of a format

totalBits
uint totalBits [@property getter]

Get the totalBits of an image surface

totalBits
uint totalBits [@property getter]

Get the totalBits of a format

Structs

A1_R5_G5_B5
struct A1_R5_G5_B5

Static descriptor of SurfaceType.A1_R5_G5_B5.

A1r5g5b5_uNorm
struct A1r5g5b5_uNorm

Static descriptor of Format.a1r5g5b5_uNorm

A2_B10_G10_R10
struct A2_B10_G10_R10

Static descriptor of SurfaceType.A2_B10_G10_R10.

A2_R10_G10_B10
struct A2_R10_G10_B10

Static descriptor of SurfaceType.A2_R10_G10_B10.

A2b10g10r10_sInt
struct A2b10g10r10_sInt

Static descriptor of Format.a2b10g10r10_sInt

A2b10g10r10_sNorm
struct A2b10g10r10_sNorm

Static descriptor of Format.a2b10g10r10_sNorm

A2b10g10r10_sScaled
struct A2b10g10r10_sScaled

Static descriptor of Format.a2b10g10r10_sScaled

A2b10g10r10_uInt
struct A2b10g10r10_uInt

Static descriptor of Format.a2b10g10r10_uInt

A2b10g10r10_uNorm
struct A2b10g10r10_uNorm

Static descriptor of Format.a2b10g10r10_uNorm

A2b10g10r10_uScaled
struct A2b10g10r10_uScaled

Static descriptor of Format.a2b10g10r10_uScaled

A2r10g10b10_sInt
struct A2r10g10b10_sInt

Static descriptor of Format.a2r10g10b10_sInt

A2r10g10b10_sNorm
struct A2r10g10b10_sNorm

Static descriptor of Format.a2r10g10b10_sNorm

A2r10g10b10_sScaled
struct A2r10g10b10_sScaled

Static descriptor of Format.a2r10g10b10_sScaled

A2r10g10b10_uInt
struct A2r10g10b10_uInt

Static descriptor of Format.a2r10g10b10_uInt

A2r10g10b10_uNorm
struct A2r10g10b10_uNorm

Static descriptor of Format.a2r10g10b10_uNorm

A2r10g10b10_uScaled
struct A2r10g10b10_uScaled

Static descriptor of Format.a2r10g10b10_uScaled

A8_B8_G8_R8
struct A8_B8_G8_R8

Static descriptor of SurfaceType.A8_B8_G8_R8.

Abgr8_sInt
struct Abgr8_sInt

Static descriptor of Format.abgr8_sInt

Abgr8_sNorm
struct Abgr8_sNorm

Static descriptor of Format.abgr8_sNorm

Abgr8_sRgb
struct Abgr8_sRgb

Static descriptor of Format.abgr8_sRgb

Abgr8_sScaled
struct Abgr8_sScaled

Static descriptor of Format.abgr8_sScaled

Abgr8_uInt
struct Abgr8_uInt

Static descriptor of Format.abgr8_uInt

Abgr8_uNorm
struct Abgr8_uNorm

Static descriptor of Format.abgr8_uNorm

Abgr8_uScaled
struct Abgr8_uScaled

Static descriptor of Format.abgr8_uScaled

B10_G11_R11
struct B10_G11_R11

Static descriptor of SurfaceType.B10_G11_R11.

B10g11r11_uFloat
struct B10g11r11_uFloat

Static descriptor of Format.b10g11r11_uFloat

B4_G4_R4_A4
struct B4_G4_R4_A4

Static descriptor of SurfaceType.B4_G4_R4_A4.

B5_G5_R5_A1
struct B5_G5_R5_A1

Static descriptor of SurfaceType.B5_G5_R5_A1.

B5_G6_R5
struct B5_G6_R5

Static descriptor of SurfaceType.B5_G6_R5.

B5g5r5a1_uNorm
struct B5g5r5a1_uNorm

Static descriptor of Format.b5g5r5a1_uNorm

B5g6r5_uNorm
struct B5g6r5_uNorm

Static descriptor of Format.b5g6r5_uNorm

B8_G8_R8
struct B8_G8_R8

Static descriptor of SurfaceType.B8_G8_R8.

B8_G8_R8_A8
struct B8_G8_R8_A8

Static descriptor of SurfaceType.B8_G8_R8_A8.

Bgr8_sInt
struct Bgr8_sInt

Static descriptor of Format.bgr8_sInt

Bgr8_sNorm
struct Bgr8_sNorm

Static descriptor of Format.bgr8_sNorm

Bgr8_sRgb
struct Bgr8_sRgb

Static descriptor of Format.bgr8_sRgb

Bgr8_sScaled
struct Bgr8_sScaled

Static descriptor of Format.bgr8_sScaled

Bgr8_uInt
struct Bgr8_uInt

Static descriptor of Format.bgr8_uInt

Bgr8_uNorm
struct Bgr8_uNorm

Static descriptor of Format.bgr8_uNorm

Bgr8_uScaled
struct Bgr8_uScaled

Static descriptor of Format.bgr8_uScaled

Bgra4_uNorm
struct Bgra4_uNorm

Static descriptor of Format.bgra4_uNorm

Bgra8_sInt
struct Bgra8_sInt

Static descriptor of Format.bgra8_sInt

Bgra8_sNorm
struct Bgra8_sNorm

Static descriptor of Format.bgra8_sNorm

Bgra8_sRgb
struct Bgra8_sRgb

Static descriptor of Format.bgra8_sRgb

Bgra8_sScaled
struct Bgra8_sScaled

Static descriptor of Format.bgra8_sScaled

Bgra8_uInt
struct Bgra8_uInt

Static descriptor of Format.bgra8_uInt

Bgra8_uNorm
struct Bgra8_uNorm

Static descriptor of Format.bgra8_uNorm

Bgra8_uScaled
struct Bgra8_uScaled

Static descriptor of Format.bgra8_uScaled

D16
struct D16

Static descriptor of SurfaceType.D16.

D16_S8
struct D16_S8

Static descriptor of SurfaceType.D16_S8.

D16_uNorm
struct D16_uNorm

Static descriptor of Format.d16_uNorm

D16s8_uNorm
struct D16s8_uNorm

Static descriptor of Format.d16s8_uNorm

D24_S8
struct D24_S8

Static descriptor of SurfaceType.D24_S8.

D24s8_uNorm
struct D24s8_uNorm

Static descriptor of Format.d24s8_uNorm

D32
struct D32

Static descriptor of SurfaceType.D32.

D32_S8
struct D32_S8

Static descriptor of SurfaceType.D32_S8.

D32_sFloat
struct D32_sFloat

Static descriptor of Format.d32_sFloat

D32s8_sFloat
struct D32s8_sFloat

Static descriptor of Format.d32s8_sFloat

E5_B9_G9_R9
struct E5_B9_G9_R9

Static descriptor of SurfaceType.E5_B9_G9_R9.

Ebgr9_uFloat
struct Ebgr9_uFloat

Static descriptor of Format.ebgr9_uFloat

FormatDesc
struct FormatDesc

description of a format

FormatProperties
struct FormatProperties

Format properties

R16
struct R16

Static descriptor of SurfaceType.R16.

R16_G16
struct R16_G16

Static descriptor of SurfaceType.R16_G16.

R16_G16_B16
struct R16_G16_B16

Static descriptor of SurfaceType.R16_G16_B16.

R16_G16_B16_A16
struct R16_G16_B16_A16

Static descriptor of SurfaceType.R16_G16_B16_A16.

R16_sFloat
struct R16_sFloat

Static descriptor of Format.r16_sFloat

R16_sInt
struct R16_sInt

Static descriptor of Format.r16_sInt

R16_sNorm
struct R16_sNorm

Static descriptor of Format.r16_sNorm

R16_sScaled
struct R16_sScaled

Static descriptor of Format.r16_sScaled

R16_uInt
struct R16_uInt

Static descriptor of Format.r16_uInt

R16_uNorm
struct R16_uNorm

Static descriptor of Format.r16_uNorm

R16_uScaled
struct R16_uScaled

Static descriptor of Format.r16_uScaled

R32
struct R32

Static descriptor of SurfaceType.R32.

R32_G32
struct R32_G32

Static descriptor of SurfaceType.R32_G32.

R32_G32_B32
struct R32_G32_B32

Static descriptor of SurfaceType.R32_G32_B32.

R32_G32_B32_A32
struct R32_G32_B32_A32

Static descriptor of SurfaceType.R32_G32_B32_A32.

R32_sFloat
struct R32_sFloat

Static descriptor of Format.r32_sFloat

R32_sInt
struct R32_sInt

Static descriptor of Format.r32_sInt

R32_uInt
struct R32_uInt

Static descriptor of Format.r32_uInt

R4_G4
struct R4_G4

Static descriptor of SurfaceType.R4_G4.

R4_G4_B4_A4
struct R4_G4_B4_A4

Static descriptor of SurfaceType.R4_G4_B4_A4.

R5_G5_B5_A1
struct R5_G5_B5_A1

Static descriptor of SurfaceType.R5_G5_B5_A1.

R5_G6_B5
struct R5_G6_B5

Static descriptor of SurfaceType.R5_G6_B5.

R5g5b5a1_uNorm
struct R5g5b5a1_uNorm

Static descriptor of Format.r5g5b5a1_uNorm

R5g6b5_uNorm
struct R5g6b5_uNorm

Static descriptor of Format.r5g6b5_uNorm

R64
struct R64

Static descriptor of SurfaceType.R64.

R64_G64
struct R64_G64

Static descriptor of SurfaceType.R64_G64.

R64_G64_B64
struct R64_G64_B64

Static descriptor of SurfaceType.R64_G64_B64.

R64_G64_B64_A64
struct R64_G64_B64_A64

Static descriptor of SurfaceType.R64_G64_B64_A64.

R64_sFloat
struct R64_sFloat

Static descriptor of Format.r64_sFloat

R64_sInt
struct R64_sInt

Static descriptor of Format.r64_sInt

R64_uInt
struct R64_uInt

Static descriptor of Format.r64_uInt

R8
struct R8

Static descriptor of SurfaceType.R8.

R8_G8
struct R8_G8

Static descriptor of SurfaceType.R8_G8.

R8_G8_B8
struct R8_G8_B8

Static descriptor of SurfaceType.R8_G8_B8.

R8_G8_B8_A8
struct R8_G8_B8_A8

Static descriptor of SurfaceType.R8_G8_B8_A8.

R8_sInt
struct R8_sInt

Static descriptor of Format.r8_sInt

R8_sNorm
struct R8_sNorm

Static descriptor of Format.r8_sNorm

R8_sRgb
struct R8_sRgb

Static descriptor of Format.r8_sRgb

R8_sScaled
struct R8_sScaled

Static descriptor of Format.r8_sScaled

R8_uInt
struct R8_uInt

Static descriptor of Format.r8_uInt

R8_uNorm
struct R8_uNorm

Static descriptor of Format.r8_uNorm

R8_uScaled
struct R8_uScaled

Static descriptor of Format.r8_uScaled

Rg16_sFloat
struct Rg16_sFloat

Static descriptor of Format.rg16_sFloat

Rg16_sInt
struct Rg16_sInt

Static descriptor of Format.rg16_sInt

Rg16_sNorm
struct Rg16_sNorm

Static descriptor of Format.rg16_sNorm

Rg16_sScaled
struct Rg16_sScaled

Static descriptor of Format.rg16_sScaled

Rg16_uInt
struct Rg16_uInt

Static descriptor of Format.rg16_uInt

Rg16_uNorm
struct Rg16_uNorm

Static descriptor of Format.rg16_uNorm

Rg16_uScaled
struct Rg16_uScaled

Static descriptor of Format.rg16_uScaled

Rg32_sFloat
struct Rg32_sFloat

Static descriptor of Format.rg32_sFloat

Rg32_sInt
struct Rg32_sInt

Static descriptor of Format.rg32_sInt

Rg32_uInt
struct Rg32_uInt

Static descriptor of Format.rg32_uInt

Rg4_uNorm
struct Rg4_uNorm

Static descriptor of Format.rg4_uNorm

Rg64_sFloat
struct Rg64_sFloat

Static descriptor of Format.rg64_sFloat

Rg64_sInt
struct Rg64_sInt

Static descriptor of Format.rg64_sInt

Rg64_uInt
struct Rg64_uInt

Static descriptor of Format.rg64_uInt

Rg8_sInt
struct Rg8_sInt

Static descriptor of Format.rg8_sInt

Rg8_sNorm
struct Rg8_sNorm

Static descriptor of Format.rg8_sNorm

Rg8_sRgb
struct Rg8_sRgb

Static descriptor of Format.rg8_sRgb

Rg8_sScaled
struct Rg8_sScaled

Static descriptor of Format.rg8_sScaled

Rg8_uInt
struct Rg8_uInt

Static descriptor of Format.rg8_uInt

Rg8_uNorm
struct Rg8_uNorm

Static descriptor of Format.rg8_uNorm

Rg8_uScaled
struct Rg8_uScaled

Static descriptor of Format.rg8_uScaled

Rgb16_sFloat
struct Rgb16_sFloat

Static descriptor of Format.rgb16_sFloat

Rgb16_sInt
struct Rgb16_sInt

Static descriptor of Format.rgb16_sInt

Rgb16_sNorm
struct Rgb16_sNorm

Static descriptor of Format.rgb16_sNorm

Rgb16_sScaled
struct Rgb16_sScaled

Static descriptor of Format.rgb16_sScaled

Rgb16_uInt
struct Rgb16_uInt

Static descriptor of Format.rgb16_uInt

Rgb16_uNorm
struct Rgb16_uNorm

Static descriptor of Format.rgb16_uNorm

Rgb16_uScaled
struct Rgb16_uScaled

Static descriptor of Format.rgb16_uScaled

Rgb32_sFloat
struct Rgb32_sFloat

Static descriptor of Format.rgb32_sFloat

Rgb32_sInt
struct Rgb32_sInt

Static descriptor of Format.rgb32_sInt

Rgb32_uInt
struct Rgb32_uInt

Static descriptor of Format.rgb32_uInt

Rgb64_sFloat
struct Rgb64_sFloat

Static descriptor of Format.rgb64_sFloat

Rgb64_sInt
struct Rgb64_sInt

Static descriptor of Format.rgb64_sInt

Rgb64_uInt
struct Rgb64_uInt

Static descriptor of Format.rgb64_uInt

Rgb8_sInt
struct Rgb8_sInt

Static descriptor of Format.rgb8_sInt

Rgb8_sNorm
struct Rgb8_sNorm

Static descriptor of Format.rgb8_sNorm

Rgb8_sRgb
struct Rgb8_sRgb

Static descriptor of Format.rgb8_sRgb

Rgb8_sScaled
struct Rgb8_sScaled

Static descriptor of Format.rgb8_sScaled

Rgb8_uInt
struct Rgb8_uInt

Static descriptor of Format.rgb8_uInt

Rgb8_uNorm
struct Rgb8_uNorm

Static descriptor of Format.rgb8_uNorm

Rgb8_uScaled
struct Rgb8_uScaled

Static descriptor of Format.rgb8_uScaled

Rgba16_sFloat
struct Rgba16_sFloat

Static descriptor of Format.rgba16_sFloat

Rgba16_sInt
struct Rgba16_sInt

Static descriptor of Format.rgba16_sInt

Rgba16_sNorm
struct Rgba16_sNorm

Static descriptor of Format.rgba16_sNorm

Rgba16_sScaled
struct Rgba16_sScaled

Static descriptor of Format.rgba16_sScaled

Rgba16_uInt
struct Rgba16_uInt

Static descriptor of Format.rgba16_uInt

Rgba16_uNorm
struct Rgba16_uNorm

Static descriptor of Format.rgba16_uNorm

Rgba16_uScaled
struct Rgba16_uScaled

Static descriptor of Format.rgba16_uScaled

Rgba32_sFloat
struct Rgba32_sFloat

Static descriptor of Format.rgba32_sFloat

Rgba32_sInt
struct Rgba32_sInt

Static descriptor of Format.rgba32_sInt

Rgba32_uInt
struct Rgba32_uInt

Static descriptor of Format.rgba32_uInt

Rgba4_uNorm
struct Rgba4_uNorm

Static descriptor of Format.rgba4_uNorm

Rgba64_sFloat
struct Rgba64_sFloat

Static descriptor of Format.rgba64_sFloat

Rgba64_sInt
struct Rgba64_sInt

Static descriptor of Format.rgba64_sInt

Rgba64_uInt
struct Rgba64_uInt

Static descriptor of Format.rgba64_uInt

Rgba8_sInt
struct Rgba8_sInt

Static descriptor of Format.rgba8_sInt

Rgba8_sNorm
struct Rgba8_sNorm

Static descriptor of Format.rgba8_sNorm

Rgba8_sRgb
struct Rgba8_sRgb

Static descriptor of Format.rgba8_sRgb

Rgba8_sScaled
struct Rgba8_sScaled

Static descriptor of Format.rgba8_sScaled

Rgba8_uInt
struct Rgba8_uInt

Static descriptor of Format.rgba8_uInt

Rgba8_uNorm
struct Rgba8_uNorm

Static descriptor of Format.rgba8_uNorm

Rgba8_uScaled
struct Rgba8_uScaled

Static descriptor of Format.rgba8_uScaled

S8
struct S8

Static descriptor of SurfaceType.S8.

S8_uInt
struct S8_uInt

Static descriptor of Format.s8_uInt

X8_D24
struct X8_D24

Static descriptor of SurfaceType.X8_D24.

X8d24_uNorm
struct X8d24_uNorm

Static descriptor of Format.x8d24_uNorm

Meta