Skip to content

EntropyCanvas::TextureLoader::Options

Loading options.

#include <TextureLoader.h>

Name
ColorSpacetargetColorSpace
Target color space (sRGB for color textures, Linear for data).
uint32_tmaxDimension
Maximum dimension (will resize if larger, 0 = no limit).
boolgenerateMips
Generate mip chain after loading.
boolforceRGBA
Force output to RGBA8 (converts grayscale/RGB to RGBA).
boolflipY
Flip Y axis (for OpenGL-style UV coordinates).
ColorSpace targetColorSpace = ColorSpace::sRGB;

Target color space (sRGB for color textures, Linear for data).

uint32_t maxDimension = 4096;

Maximum dimension (will resize if larger, 0 = no limit).

bool generateMips = true;

Generate mip chain after loading.

bool forceRGBA = true;

Force output to RGBA8 (converts grayscale/RGB to RGBA).

bool flipY = false;

Flip Y axis (for OpenGL-style UV coordinates).


Updated on 2026-01-26 at 17:14:35 -0500