clan::ModelDataDrawRange Class Reference

Information needed to draw a range of vertex elements in a ModelDataMesh. More...

#include <model_data_draw_range.h>

Public Member Functions

 ModelDataDrawRange ()
 

Public Attributes

bool alpha_test
 Must be set to true if the faces are rendered with alpha test transparency. More...
 
ModelDataAnimationData< Vec3fambient
 
ModelDataTextureMap bumpmap_map
 
ModelDataAnimationData< Vec3fdiffuse
 
ModelDataTextureMap diffuse_map
 
ModelDataAnimationData< float > glossiness
 
int num_elements
 Number of elements to draw. More...
 
ModelDataAnimationData< Vec3fself_illumination
 
ModelDataAnimationData< float > self_illumination_amount
 
ModelDataTextureMap self_illumination_map
 
ModelDataAnimationData< Vec3fspecular
 
ModelDataAnimationData< float > specular_level
 
ModelDataTextureMap specular_map
 
int start_element
 First vertex element to draw. More...
 
bool transparent
 Controls if faces should be rendered with alpha blending enabled. More...
 
bool two_sided
 Toggles if back facing faces should be drawn too. More...
 

Detailed Description

Information needed to draw a range of vertex elements in a ModelDataMesh.

Constructor & Destructor Documentation

◆ ModelDataDrawRange()

clan::ModelDataDrawRange::ModelDataDrawRange ( )
inline

Member Data Documentation

◆ alpha_test

bool clan::ModelDataDrawRange::alpha_test

Must be set to true if the faces are rendered with alpha test transparency.

◆ ambient

ModelDataAnimationData<Vec3f> clan::ModelDataDrawRange::ambient

◆ bumpmap_map

ModelDataTextureMap clan::ModelDataDrawRange::bumpmap_map

◆ diffuse

ModelDataAnimationData<Vec3f> clan::ModelDataDrawRange::diffuse

◆ diffuse_map

ModelDataTextureMap clan::ModelDataDrawRange::diffuse_map

◆ glossiness

ModelDataAnimationData<float> clan::ModelDataDrawRange::glossiness

◆ num_elements

int clan::ModelDataDrawRange::num_elements

Number of elements to draw.

◆ self_illumination

ModelDataAnimationData<Vec3f> clan::ModelDataDrawRange::self_illumination

◆ self_illumination_amount

ModelDataAnimationData<float> clan::ModelDataDrawRange::self_illumination_amount

◆ self_illumination_map

ModelDataTextureMap clan::ModelDataDrawRange::self_illumination_map

◆ specular

ModelDataAnimationData<Vec3f> clan::ModelDataDrawRange::specular

◆ specular_level

ModelDataAnimationData<float> clan::ModelDataDrawRange::specular_level

◆ specular_map

ModelDataTextureMap clan::ModelDataDrawRange::specular_map

◆ start_element

int clan::ModelDataDrawRange::start_element

First vertex element to draw.

◆ transparent

bool clan::ModelDataDrawRange::transparent

Controls if faces should be rendered with alpha blending enabled.

◆ two_sided

bool clan::ModelDataDrawRange::two_sided

Toggles if back facing faces should be drawn too.


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