# siImageBitDepth Enum

## Enumerations
enum | siImageBitDepth { siImageBitDepthUnknown = -1, siImageBitDepthInteger1 = 0, siImageBitDepthInteger2 = 1, siImageBitDepthInteger4 = 2, siImageBitDepthInteger8 = 3, siImageBitDepthInteger16 = 4, siImageBitDepthInteger32 = 5, siImageBitDepthFloat16 = 20, siImageBitDepthFloat32 = 21 }

## Detailed Description

This enumeration lists the allowed bit depths for each channel of an image with the specified channel types. Not all bit depths are allowed for all channel types.

See also:
  Framebuffer, Renderer::OutputFormatDef, AddWritableImageSource

## Enumeration Type Documentation

enum siImageBitDepth

Enumerator:

  siImageBitDepthUnknown | [-1] Unknown image bit depth. Only returned if an error occured.
  siImageBitDepthInteger1 | [0] Integer, 1 bit per channel.
  siImageBitDepthInteger2 | [1] Integer, 2 bits per channel.
  siImageBitDepthInteger4 | [2] Integer, 4 bits per channel.
  siImageBitDepthInteger8 | [3] Integer, 8 bits per channel.
  siImageBitDepthInteger16 | [4] Integer, 16 bits per channel.
  siImageBitDepthInteger32 | [5] Integer, 32 bits per channel.
  siImageBitDepthFloat16 | [20] Floating point, 16 bits per channel (half float).
  siImageBitDepthFloat32 | [21] Floating point, 32 bits per channel (full float).