Gly.MemoryFormat
Description: Reference for Gly.MemoryFormat

### Enumeration

# GlyMemoryFormat

since: 2.0

#### Declaration

    enum Gly.MemoryFormat

#### Description [src]

Memory format.

Available since: 2.0

#### Members

`GLY_MEMORY_B8G8R8A8_PREMULTIPLIED`

  8-bit RGRA premultiplied.

  - Value: `0`
  - Available since: 2.0
`GLY_MEMORY_A8R8G8B8_PREMULTIPLIED`

  8-bit ARGB premultiplied.

  - Value: `1`
  - Available since: 2.0
`GLY_MEMORY_R8G8B8A8_PREMULTIPLIED`

  8-bit RGBA premultiplied.

  - Value: `2`
  - Available since: 2.0
`GLY_MEMORY_B8G8R8A8`

  8-bit RGBA.

  - Value: `3`
  - Available since: 2.0
`GLY_MEMORY_A8R8G8B8`

  8-bit AGBR.

  - Value: `4`
  - Available since: 2.0
`GLY_MEMORY_R8G8B8A8`

  8-bit RGBA.

  - Value: `5`
  - Available since: 2.0
`GLY_MEMORY_A8B8G8R8`

  8-bit ABGR.

  - Value: `6`
  - Available since: 2.0
`GLY_MEMORY_R8G8B8`

  8-bit RGB.

  - Value: `7`
  - Available since: 2.0
`GLY_MEMORY_B8G8R8`

  8-bit BGR.

  - Value: `8`
  - Available since: 2.0
`GLY_MEMORY_R16G16B16`

  16-bit RGB.

  - Value: `9`
  - Available since: 2.0
`GLY_MEMORY_R16G16B16A16_PREMULTIPLIED`

  16-bit RGBA premultiplied.

  - Value: `10`
  - Available since: 2.0
`GLY_MEMORY_R16G16B16A16`

  16-bit RGBA.

  - Value: `11`
  - Available since: 2.0
`GLY_MEMORY_R16G16B16_FLOAT`

  16-bit float RGB.

  - Value: `12`
  - Available since: 2.0
`GLY_MEMORY_R16G16B16A16_FLOAT`

  16-bit float RGBA.

  - Value: `13`
  - Available since: 2.0
`GLY_MEMORY_R32G32B32_FLOAT`

  32-bit float RGB.

  - Value: `14`
  - Available since: 2.0
`GLY_MEMORY_R32G32B32A32_FLOAT_PREMULTIPLIED`

  32-bit float RGBA premultiplied.

  - Value: `15`
  - Available since: 2.0
`GLY_MEMORY_R32G32B32A32_FLOAT`

  16-bit float RGBA.

  - Value: `16`
  - Available since: 2.0
`GLY_MEMORY_G8A8_PREMULTIPLIED`

  8-bit gray with alpha premultiplied.

  - Value: `17`
  - Available since: 2.0
`GLY_MEMORY_G8A8`

  8-bit gray with alpha.

  - Value: `18`
  - Available since: 2.0
`GLY_MEMORY_G8`

  8-bit gray.

  - Value: `19`
  - Available since: 2.0
`GLY_MEMORY_G16A16_PREMULTIPLIED`

  16-bit gray with alpha premultiplied.

  - Value: `20`
  - Available since: 2.0
`GLY_MEMORY_G16A16`

  16-bit gray with alpha.

  - Value: `21`
  - Available since: 2.0
`GLY_MEMORY_G16`

  16-bit gray.

  - Value: `22`
  - Available since: 2.0

#### Type functions

###### gly_memory_format_has_alpha

Whether a memory format has an alpha channel.

since: 2.0

###### gly_memory_format_is_premultiplied

Whether a memory format has an alpha channel and the color values are premultiplied with the alpha value.

since: 2.0