clan::ModelDataTextureMap Class Reference

Texture sampler state and UVW animation data used when drawing vertex elements. More...

#include <model_data_texture_map.h>

Public Types

enum  WrapMode { wrap_repeat, wrap_clamp_to_edge, wrap_mirror }
 

Public Member Functions

 ModelDataTextureMap ()
 
Mat4f get_uvw_matrix (int animation_index, float animation_time)
 

Public Attributes

int channel
 
int texture
 
ModelDataAnimationData< Vec3fuvw_offset
 
ModelDataAnimationData< Quaternionfuvw_rotation
 
ModelDataAnimationData< Vec3fuvw_scale
 
WrapMode wrap_x
 
WrapMode wrap_y
 

Detailed Description

Texture sampler state and UVW animation data used when drawing vertex elements.

Member Enumeration Documentation

◆ WrapMode

Enumerator
wrap_repeat 
wrap_clamp_to_edge 
wrap_mirror 

Constructor & Destructor Documentation

◆ ModelDataTextureMap()

clan::ModelDataTextureMap::ModelDataTextureMap ( )
inline

Member Function Documentation

◆ get_uvw_matrix()

Mat4f clan::ModelDataTextureMap::get_uvw_matrix ( int  animation_index,
float  animation_time 
)
inline

Member Data Documentation

◆ channel

int clan::ModelDataTextureMap::channel

◆ texture

int clan::ModelDataTextureMap::texture

◆ uvw_offset

ModelDataAnimationData<Vec3f> clan::ModelDataTextureMap::uvw_offset

◆ uvw_rotation

ModelDataAnimationData<Quaternionf> clan::ModelDataTextureMap::uvw_rotation

◆ uvw_scale

ModelDataAnimationData<Vec3f> clan::ModelDataTextureMap::uvw_scale

◆ wrap_x

WrapMode clan::ModelDataTextureMap::wrap_x

◆ wrap_y

WrapMode clan::ModelDataTextureMap::wrap_y

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