OGRE  1.10.12
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

◆ section

MaterialScriptSection Ogre::MaterialScriptContext::section

◆ groupName

String Ogre::MaterialScriptContext::groupName

◆ material

MaterialPtr Ogre::MaterialScriptContext::material

◆ technique

Technique* Ogre::MaterialScriptContext::technique

◆ pass

Pass* Ogre::MaterialScriptContext::pass

◆ textureUnit

TextureUnitState* Ogre::MaterialScriptContext::textureUnit

◆ program

GpuProgramPtr Ogre::MaterialScriptContext::program

◆ isVertexProgramShadowCaster

bool Ogre::MaterialScriptContext::isVertexProgramShadowCaster

Used when referencing a program, not when defining it.

◆ isFragmentProgramShadowCaster

bool Ogre::MaterialScriptContext::isFragmentProgramShadowCaster

When referencing, are we in context of shadow caster.

◆ isVertexProgramShadowReceiver

bool Ogre::MaterialScriptContext::isVertexProgramShadowReceiver

When referencing, are we in context of shadow caster.

◆ isFragmentProgramShadowReceiver

bool Ogre::MaterialScriptContext::isFragmentProgramShadowReceiver

When referencing, are we in context of shadow caster.

◆ programParams

GpuProgramParametersSharedPtr Ogre::MaterialScriptContext::programParams

When referencing, are we in context of shadow caster.

◆ numAnimationParametrics

ushort Ogre::MaterialScriptContext::numAnimationParametrics

◆ programDef

MaterialScriptProgramDefinition* Ogre::MaterialScriptContext::programDef

◆ techLev

int Ogre::MaterialScriptContext::techLev

This is used while defining a program.

◆ passLev

int Ogre::MaterialScriptContext::passLev

◆ stateLev

int Ogre::MaterialScriptContext::stateLev

◆ defaultParamLines

StringVector Ogre::MaterialScriptContext::defaultParamLines

◆ lineNo

size_t Ogre::MaterialScriptContext::lineNo

Error reporting state.

◆ filename

String Ogre::MaterialScriptContext::filename

◆ textureAliases

AliasTextureNamePairList Ogre::MaterialScriptContext::textureAliases

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