Enums


Public Member Functions

  • bool
    hasAlpha () const
  • void *
    getRowPointer (int32_t row)
  • void *
    getData () const
  • void
    setRow (int32_t, const void *)
  • void
    finalize ()
  • int32_t
    getWidth () const
  • int32_t
    getHeight () const
  • getColorModel () const
  • getDataType () const
  • getChannelOrder () const

Static Public Member Functions

  • shared_ptr< ImageTargetGlTexture >
    create (const Texture *texture, ImageIo::ChannelOrder &channelOrder, bool isGray, bool hasAlpha)
  • shared_ptr< ImageTargetGlTexture >
    create (const Texture *texture, ImageIo::ChannelOrder &channelOrder, bool isGray, bool hasAlpha, void *data)
  • void
    translateRgbColorModelToOffsets (ChannelOrder channelOrder, int8_t *red, int8_t *green, int8_t *blue, int8_t *alpha, int8_t *inc)
  • void
    translateGrayColorModelToOffsets (ChannelOrder channelOrder, int8_t *gray, int8_t *alpha, int8_t *inc)
  • bool
    channelOrderHasAlpha (ChannelOrder channelOrder)
  • int8_t
    channelOrderNumChannels (ChannelOrder channelOrder)
  • uint8_t
    dataTypeBytes (DataType dataType)

Protected Member Functions

  • void
    setSize (int32_t width, int32_t height)
  • void
    setColorModel (ColorModel colorModel)
  • void
    setDataType (DataType aDataType)
  • void
    setChannelOrder (ChannelOrder aChannelOrder)

Protected Attributes