GL Studio API
Public Attributes | List of all members
glsInlineImage Struct Reference

#include <image.h>

Public Attributes

unsigned int _width
 
unsigned int _height
 
unsigned int _components
 
unsigned int _pixel_format
 
glsImageCodec _codec
 
unsigned long _crc
 
bool _gl_texture_compression
 
unsigned long _image_data_size
 
unsigned long _alpha_data_size
 
unsigned int _line_length
 
_BufferType * _rgb_buffer
 
_BufferType * _alpha_buffer
 

Detailed Description

The glsInlineImage structure. This structure is generated and contains information needed to create reconstruct an inline generated image.

Member Data Documentation

_BufferType* _alpha_buffer

Pointer to the static compressed alpha layer for the image

unsigned long _alpha_data_size

Size of Alpha data (compressed). Zero if no alpha channel present

glsImageCodec _codec

CODEC used to compress image

unsigned int _components

Number of components in image

unsigned long _crc

CRC of image data (compressed or uncompressed?)

bool _gl_texture_compression

Value of GlTextureCompression

unsigned int _height

Height of image in pixels

unsigned long _image_data_size

Size of RGB data (compressed)

unsigned int _line_length

Length of each line of inline data, in bytes

unsigned int _pixel_format

GL_RGB, GL_RGBA ...

_BufferType* _rgb_buffer

Pointer to the static compressed rgb buffer for the image

unsigned int _width

Width of image in pixels


The documentation for this struct was generated from the following file: