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
< Quaternionf
uvw_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

Enumerator
wrap_repeat 
wrap_clamp_to_edge 
wrap_mirror 

Constructor & Destructor Documentation

clan::ModelDataTextureMap::ModelDataTextureMap ( )
inline

Member Function Documentation

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

Member Data Documentation

int clan::ModelDataTextureMap::channel

Referenced by get_uvw_matrix().

int clan::ModelDataTextureMap::texture

Referenced by get_uvw_matrix().

ModelDataAnimationData<Vec3f> clan::ModelDataTextureMap::uvw_offset

Referenced by get_uvw_matrix().

ModelDataAnimationData<Quaternionf> clan::ModelDataTextureMap::uvw_rotation

Referenced by get_uvw_matrix().

ModelDataAnimationData<Vec3f> clan::ModelDataTextureMap::uvw_scale

Referenced by get_uvw_matrix().

WrapMode clan::ModelDataTextureMap::wrap_x
WrapMode clan::ModelDataTextureMap::wrap_y

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