163

Texture Mapping
Using ImageComponent Formats

  • The format of an image component describes the pixel data within the image
    FORMAT_RGB,
    FORMAT_RGB8
    8-bit red, green, blue
    FORMAT_RGBA 8-bit red, green, blue, alpha
    FORMAT_RGB5 5-bit red, green, blue
    FORMAT_RGB5_A1 5-bit red, green, blue, 1-bit alpha
    FORMAT_RGB4 4-bit red, green, blue
    FORMAT_RGBA4 4-bit red, green, blue, alpha