Colobot
|
Parameters for a texture unit. More...
#include <texture.h>
Public Member Functions | |
void | LoadDefault () |
Loads the default values. More... | |
Public Attributes | |
TexMixOperation | colorOperation = TEX_MIX_OPER_DEFAULT |
Mixing operation done on color values. More... | |
TexMixArgument | colorArg1 = TEX_MIX_ARG_COMPUTED_COLOR |
1st argument of color operations More... | |
TexMixArgument | colorArg2 = TEX_MIX_ARG_TEXTURE |
2nd argument of color operations More... | |
TexMixOperation | alphaOperation = TEX_MIX_OPER_DEFAULT |
Mixing operation done on alpha values. More... | |
TexMixArgument | alphaArg1 = TEX_MIX_ARG_COMPUTED_COLOR |
1st argument of alpha operations More... | |
TexMixArgument | alphaArg2 = TEX_MIX_ARG_TEXTURE |
2nd argument of alpha operations More... | |
TexWrapMode | wrapS = TEX_WRAP_REPEAT |
Wrap mode for 1st tex coord. More... | |
TexWrapMode | wrapT = TEX_WRAP_REPEAT |
Wrap mode for 2nd tex coord. More... | |
Color | factor |
Constant color factor (for TEX_MIX_ARG_FACTOR) More... | |
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.
|
inline |
Loads the default values.
TexMixOperation Gfx::TextureStageParams::colorOperation = TEX_MIX_OPER_DEFAULT |
Mixing operation done on color values.
TexMixArgument Gfx::TextureStageParams::colorArg1 = TEX_MIX_ARG_COMPUTED_COLOR |
1st argument of color operations
TexMixArgument Gfx::TextureStageParams::colorArg2 = TEX_MIX_ARG_TEXTURE |
2nd argument of color operations
TexMixOperation Gfx::TextureStageParams::alphaOperation = TEX_MIX_OPER_DEFAULT |
Mixing operation done on alpha values.
TexMixArgument Gfx::TextureStageParams::alphaArg1 = TEX_MIX_ARG_COMPUTED_COLOR |
1st argument of alpha operations
TexMixArgument Gfx::TextureStageParams::alphaArg2 = TEX_MIX_ARG_TEXTURE |
2nd argument of alpha operations
TexWrapMode Gfx::TextureStageParams::wrapS = TEX_WRAP_REPEAT |
Wrap mode for 1st tex coord.
TexWrapMode Gfx::TextureStageParams::wrapT = TEX_WRAP_REPEAT |
Wrap mode for 2nd tex coord.
Color Gfx::TextureStageParams::factor |
Constant color factor (for TEX_MIX_ARG_FACTOR)