Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Public Attributes | List of all members
castor3d::TextureConfiguration Struct Reference

#include <TextureConfiguration.hpp>

Collaboration diagram for castor3d::TextureConfiguration:
Collaboration graph
[legend]

Public Member Functions

 TextureConfiguration ()=default
 

Public Attributes

TextureFlagConfigurations components {}
 The configuration per RGBA component.
 
float normalFactor { 1.0f }
 
float heightFactor { 0.1f }
 
bool normalDirectX {}
 
bool normal2Channels {}
 
bool needsYInversion {}
 
TextureTransform transform {}
 
castor::Point4ui tileSet {}
 
uint32_t tiles { 1u }
 
TextureSpaces textureSpace {}
 

Static Public Attributes

static uint32_t constexpr AlphaMask = 0xFF000000
 
static uint32_t constexpr BlueMask = 0x00FF0000
 
static uint32_t constexpr GreenMask = 0x0000FF00
 
static uint32_t constexpr RedMask = 0x000000FF
 
static uint32_t constexpr RgMask = RedMask | GreenMask
 
static uint32_t constexpr RgbMask = RgMask | BlueMask
 
static uint32_t constexpr RgbaMask = RgbMask | AlphaMask
 

Constructor & Destructor Documentation

◆ TextureConfiguration()

castor3d::TextureConfiguration::TextureConfiguration ( )
default

Member Data Documentation

◆ AlphaMask

uint32_t constexpr castor3d::TextureConfiguration::AlphaMask = 0xFF000000
staticconstexpr

name Component masks.

◆ BlueMask

uint32_t constexpr castor3d::TextureConfiguration::BlueMask = 0x00FF0000
staticconstexpr

◆ components

TextureFlagConfigurations castor3d::TextureConfiguration::components {}

The configuration per RGBA component.

◆ GreenMask

uint32_t constexpr castor3d::TextureConfiguration::GreenMask = 0x0000FF00
staticconstexpr

◆ heightFactor

float castor3d::TextureConfiguration::heightFactor { 0.1f }

◆ needsYInversion

bool castor3d::TextureConfiguration::needsYInversion {}

◆ normal2Channels

bool castor3d::TextureConfiguration::normal2Channels {}

◆ normalDirectX

bool castor3d::TextureConfiguration::normalDirectX {}

name Miscellaneous.

◆ normalFactor

float castor3d::TextureConfiguration::normalFactor { 1.0f }

name Factors.

◆ RedMask

uint32_t constexpr castor3d::TextureConfiguration::RedMask = 0x000000FF
staticconstexpr

◆ RgbaMask

uint32_t constexpr castor3d::TextureConfiguration::RgbaMask = RgbMask | AlphaMask
staticconstexpr

◆ RgbMask

uint32_t constexpr castor3d::TextureConfiguration::RgbMask = RgMask | BlueMask
staticconstexpr

◆ RgMask

uint32_t constexpr castor3d::TextureConfiguration::RgMask = RedMask | GreenMask
staticconstexpr

◆ textureSpace

TextureSpaces castor3d::TextureConfiguration::textureSpace {}

◆ tiles

uint32_t castor3d::TextureConfiguration::tiles { 1u }

◆ tileSet

castor::Point4ui castor3d::TextureConfiguration::tileSet {}

◆ transform

TextureTransform castor3d::TextureConfiguration::transform {}

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