EntropyCanvas::TextureLoader::Options
EntropyCanvas::TextureLoader::Options
Section titled “EntropyCanvas::TextureLoader::Options”Loading options.
#include <TextureLoader.h>
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| ColorSpace | targetColorSpace Target color space (sRGB for color textures, Linear for data). |
| uint32_t | maxDimension Maximum dimension (will resize if larger, 0 = no limit). |
| bool | generateMips Generate mip chain after loading. |
| bool | forceRGBA Force output to RGBA8 (converts grayscale/RGB to RGBA). |
| bool | flipY Flip Y axis (for OpenGL-style UV coordinates). |
Public Attributes Documentation
Section titled “Public Attributes Documentation”variable targetColorSpace
Section titled “variable targetColorSpace”ColorSpace targetColorSpace = ColorSpace::sRGB;Target color space (sRGB for color textures, Linear for data).
variable maxDimension
Section titled “variable maxDimension”uint32_t maxDimension = 4096;Maximum dimension (will resize if larger, 0 = no limit).
variable generateMips
Section titled “variable generateMips”bool generateMips = true;Generate mip chain after loading.
variable forceRGBA
Section titled “variable forceRGBA”bool forceRGBA = true;Force output to RGBA8 (converts grayscale/RGB to RGBA).
variable flipY
Section titled “variable flipY”bool flipY = false;Flip Y axis (for OpenGL-style UV coordinates).
Updated on 2026-01-26 at 17:14:35 -0500