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

void LoadDefault ()
 Loads the default values.
 

Public Attributes

TexMixOperation colorOperation = TEX_MIX_OPER_DEFAULT
 Mixing operation done on color values.
 
TexMixArgument colorArg1 = TEX_MIX_ARG_COMPUTED_COLOR
 1st argument of color operations
 
TexMixArgument colorArg2 = TEX_MIX_ARG_TEXTURE
 2nd argument of color operations
 
TexMixOperation alphaOperation = TEX_MIX_OPER_DEFAULT
 Mixing operation done on alpha values.
 
TexMixArgument alphaArg1 = TEX_MIX_ARG_COMPUTED_COLOR
 1st argument of alpha operations
 
TexMixArgument alphaArg2 = TEX_MIX_ARG_TEXTURE
 2nd argument of alpha operations
 
TexWrapMode wrapS = TEX_WRAP_REPEAT
 Wrap mode for 1st tex coord.
 
TexWrapMode wrapT = TEX_WRAP_REPEAT
 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: