|
GL Studio API
|
#include <texture_palette.h>
Public Attributes | |
| bool | generateInline |
| bool | reverseAlpha |
| Image * | texture |
| long | compressedSize |
| glsImageCodec | codec |
| int | compressionFactor |
| int | desiredLoadWidth |
| int | desiredLoadHeight |
| int | sourceImageWidth |
| int | sourceImageHeight |
| int | sourceImageMemSize |
| bool | useGLTextureCompression |
| bool | allowNPOT |
A texture palette entry. Keeps track of which textures are assigned to each entry in the texture palette
| bool allowNPOT |
Allow Non-power of two texture (do not scale up)
| glsImageCodec codec |
CODEC that will be used to compress an inline image
| long compressedSize |
Size of image when compressed with currently set inline CODEC
| int compressionFactor |
Compression factor of the image, used only for JPEG
| int desiredLoadHeight |
The height that the image should load at. 0 indicates full size. (Editor only)
| int desiredLoadWidth |
The width that the image should load at. 0 indicates full size. (Editor only)
| bool generateInline |
True if the image is to be generated as inline code
| bool reverseAlpha |
True if the alpha channel should be reversed on load
| int sourceImageHeight |
The height of the source image. (pixels) (Editor only)
| int sourceImageMemSize |
The size of the source image im memory. (bytes) (Editor only)
| int sourceImageWidth |
The width of the source image. (pixels) (Editor only)
| Image* texture |
Pointer to the texture object itself
| bool useGLTextureCompression |
True if the image should be generated to use hardware texture compression. (Editor only)
1.8.10