OGRE  1.10.11
Object-Oriented Graphics Rendering Engine
Ogre::MaterialScriptContext Struct Reference

Struct for holding the script context while parsing. More...

#include <OgreMaterialSerializer.h>

Public Attributes

StringVector defaultParamLines
 
String filename
 
String groupName
 
bool isFragmentProgramShadowCaster
 When referencing, are we in context of shadow caster. More...
 
bool isFragmentProgramShadowReceiver
 When referencing, are we in context of shadow caster. More...
 
bool isVertexProgramShadowCaster
 Used when referencing a program, not when defining it. More...
 
bool isVertexProgramShadowReceiver
 When referencing, are we in context of shadow caster. More...
 
size_t lineNo
 Error reporting state. More...
 
MaterialPtr material
 
ushort numAnimationParametrics
 
Passpass
 
int passLev
 
GpuProgramPtr program
 
MaterialScriptProgramDefinitionprogramDef
 
GpuProgramParametersSharedPtr programParams
 When referencing, are we in context of shadow caster. More...
 
MaterialScriptSection section
 
int stateLev
 
int techLev
 This is used while defining a program. More...
 
Techniquetechnique
 
AliasTextureNamePairList textureAliases
 
TextureUnitStatetextureUnit
 

Detailed Description

Struct for holding the script context while parsing.

Member Data Documentation

MaterialScriptSection Ogre::MaterialScriptContext::section
String Ogre::MaterialScriptContext::groupName
MaterialPtr Ogre::MaterialScriptContext::material
Technique* Ogre::MaterialScriptContext::technique
Pass* Ogre::MaterialScriptContext::pass
TextureUnitState* Ogre::MaterialScriptContext::textureUnit
GpuProgramPtr Ogre::MaterialScriptContext::program
bool Ogre::MaterialScriptContext::isVertexProgramShadowCaster

Used when referencing a program, not when defining it.

bool Ogre::MaterialScriptContext::isFragmentProgramShadowCaster

When referencing, are we in context of shadow caster.

bool Ogre::MaterialScriptContext::isVertexProgramShadowReceiver

When referencing, are we in context of shadow caster.

bool Ogre::MaterialScriptContext::isFragmentProgramShadowReceiver

When referencing, are we in context of shadow caster.

GpuProgramParametersSharedPtr Ogre::MaterialScriptContext::programParams

When referencing, are we in context of shadow caster.

ushort Ogre::MaterialScriptContext::numAnimationParametrics
MaterialScriptProgramDefinition* Ogre::MaterialScriptContext::programDef
int Ogre::MaterialScriptContext::techLev

This is used while defining a program.

int Ogre::MaterialScriptContext::passLev
int Ogre::MaterialScriptContext::stateLev
StringVector Ogre::MaterialScriptContext::defaultParamLines
size_t Ogre::MaterialScriptContext::lineNo

Error reporting state.

String Ogre::MaterialScriptContext::filename
AliasTextureNamePairList Ogre::MaterialScriptContext::textureAliases

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