Castor3D 0.12.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)
 

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)
 

Public Attributes

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

Detailed Description

Factors applied when displaying a debug texture.

Member Function Documentation

◆ 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.

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().

◆ multiply

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

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