Colobot
Public Member Functions | Public Attributes | List of all members
Gfx::TextureStageParams Struct Reference

Parameters for a texture unit. More...

#include <texture.h>

Public Member Functions

 TextureStageParams ()
 Constructor; calls LoadDefault()
 
void LoadDefault ()
 Loads the default values.
 

Public Attributes

TexMixOperation colorOperation
 Mixing operation done on color values.
 
TexMixArgument colorArg1
 1st argument of color operations
 
TexMixArgument colorArg2
 2nd argument of color operations
 
TexMixOperation alphaOperation
 Mixing operation done on alpha values.
 
TexMixArgument alphaArg1
 1st argument of alpha operations
 
TexMixArgument alphaArg2
 2nd argument of alpha operations
 
TexWrapMode wrapS
 Wrap mode for 1st tex coord.
 
TexWrapMode wrapT
 Wrap mode for 2nd tex coord.
 
Color factor
 Constant color factor (for TEX_MIX_ARG_FACTOR)
 

Detailed Description

Parameters for a texture unit.

These params define the behavior of texturing units (stages). They can be changed freely and are features of graphics engine, not any particular texture.


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