Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Technique::Pass::TextureUnit Struct Reference

#include <technique.h>

Public Types

enum  SourceType {
  None, Decal, File, Environment,
  Detail
}
 
enum  Kind {
  TexDefault, Tex2D, Tex3D, TexCube,
  TexSepCube
}
 

Public Attributes

SourceType sourceType
 
SourceType defaultType
 
Kind texKind
 
int sourceIndex
 
int defaultIndex
 
int targetIndex
 
int origTargetIndex
 
std::string targetParamName
 
int targetParamId
 
std::string sourcePath
 
std::string defaultPath
 
boost::shared_ptr< Texturetexture
 

Detailed Description

Definition at line 113 of file technique.h.

Member Enumeration Documentation

Enumerator
TexDefault 

Nothing - blank

Tex2D 

Normal, 2D texture

Tex3D 

3D DDS texture

TexCube 

Packed cube texture

TexSepCube 

Separated cube texture

Definition at line 133 of file technique.h.

134  {
136  TexDefault,
137 
139  Tex2D,
140 
142  Tex3D,
143 
145  TexCube,
146 
148  TexSepCube
149  };
Enumerator
None 

Nothing - blank

Decal 

The mesh's Decal with specified numeric index

File 

The texture specified with a path

Environment 

The current environment cubemap

Detail 

The mesh's detail texture (if there are more than one, it can be indexed)

Definition at line 115 of file technique.h.

116  {
118  None,
119 
121  Decal,
122 
124  File,
125 
127  Environment,
128 
130  Detail
131  };

Member Data Documentation

int Technique::Pass::TextureUnit::defaultIndex

Definition at line 157 of file technique.h.

Referenced by Technique::Pass::addTextureUnit().

std::string Technique::Pass::TextureUnit::defaultPath

Definition at line 168 of file technique.h.

Referenced by Technique::Pass::addTextureUnit().

SourceType Technique::Pass::TextureUnit::defaultType

Definition at line 152 of file technique.h.

Referenced by Technique::Pass::addTextureUnit().

int Technique::Pass::TextureUnit::origTargetIndex

Definition at line 161 of file technique.h.

Referenced by Technique::Pass::addTextureUnit().

int Technique::Pass::TextureUnit::sourceIndex

Definition at line 156 of file technique.h.

Referenced by Technique::Pass::addTextureUnit(), and OrigMeshContainer::operator<().

std::string Technique::Pass::TextureUnit::sourcePath

Definition at line 167 of file technique.h.

Referenced by Technique::Pass::addTextureUnit().

SourceType Technique::Pass::TextureUnit::sourceType

Definition at line 151 of file technique.h.

Referenced by Technique::Pass::addTextureUnit(), and OrigMeshContainer::operator<().

int Technique::Pass::TextureUnit::targetIndex

Definition at line 158 of file technique.h.

Referenced by Technique::Pass::addTextureUnit().

int Technique::Pass::TextureUnit::targetParamId

Definition at line 165 of file technique.h.

Referenced by Technique::Pass::addTextureUnit().

std::string Technique::Pass::TextureUnit::targetParamName

For shader passes, the associated sampler uniform

Definition at line 164 of file technique.h.

Referenced by Technique::Pass::addTextureUnit().

Kind Technique::Pass::TextureUnit::texKind

Definition at line 154 of file technique.h.

Referenced by Technique::Pass::addTextureUnit().

boost::shared_ptr< Texture > Technique::Pass::TextureUnit::texture

Contains the source texture if the source type is File

Definition at line 171 of file technique.h.

Referenced by OrigMeshContainer::operator<().


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