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

Factors applied when displaying a debug texture. More...

#include <MiscellaneousModule.hpp>

Public Member Functions

TextureFactorsinvert (bool value)
 
TextureFactorsdepth (bool value)
 

Static Public Member Functions

static TextureFactors tex2D (castor::Point3f multiply=castor::Point3f{ 1.0f, 1.0f, 1.0f }, castor::Point3f add=castor::Point3f{})
 
static TextureFactors tex3D (castor::Point4f const *grid)
 
static TextureFactors tex3DSlice (uint32_t slice)
 

Public Attributes

castor::Point3f multiply { 1.0f, 1.0f, 1.0f }
 
castor::Point3f add {}
 
castor::Point4f const * grid { nullptr }
 
bool invertY { false }
 
bool isSlice {}
 
uint32_t slice {}
 
bool isDepth {}
 

Detailed Description

Factors applied when displaying a debug texture.

Member Function Documentation

◆ depth()

TextureFactors & castor3d::TextureFactors::depth ( bool value)
inline

References isDepth.

◆ invert()

TextureFactors & castor3d::TextureFactors::invert ( bool value)
inline

References invertY.

◆ tex2D()

static TextureFactors castor3d::TextureFactors::tex2D ( castor::Point3f multiply = castor::Point3f{ 1.0f, 1.0f, 1.0f },
castor::Point3f add = castor::Point3f{} )
inlinestatic

◆ tex3D()

static TextureFactors castor3d::TextureFactors::tex3D ( castor::Point4f const * grid)
inlinestatic

References grid.

◆ tex3DSlice()

static TextureFactors castor3d::TextureFactors::tex3DSlice ( uint32_t slice)
inlinestatic

References isSlice, and slice.

Member Data Documentation

◆ add

castor::Point3f castor3d::TextureFactors::add {}

◆ grid

castor::Point4f const* castor3d::TextureFactors::grid { nullptr }

Referenced by tex3D().

◆ invertY

bool castor3d::TextureFactors::invertY { false }

Referenced by invert().

◆ isDepth

bool castor3d::TextureFactors::isDepth {}

Referenced by depth().

◆ isSlice

bool castor3d::TextureFactors::isSlice {}

Referenced by tex3DSlice().

◆ multiply

castor::Point3f castor3d::TextureFactors::multiply { 1.0f, 1.0f, 1.0f }

◆ slice

uint32_t castor3d::TextureFactors::slice {}

Referenced by tex3DSlice().


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