Ogre::MaterialScriptContext Struct Reference
Core » Materials

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
Pass * | pass
int | passLev
GpuProgramPtr | program
MaterialScriptProgramDefinition * | programDef
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...
Technique * | technique
AliasTextureNamePairList | textureAliases
TextureUnitState * | textureUnit

## Detailed Description

Struct for holding the script context while parsing.

Definition at line 75 of file OgreMaterialSerializer.h.

## Member Data Documentation

## defaultParamLines

StringVector Ogre::MaterialScriptContext::defaultParamLines

Definition at line 95 of file OgreMaterialSerializer.h.

## filename

String Ogre::MaterialScriptContext::filename

Definition at line 99 of file OgreMaterialSerializer.h.

## groupName

String Ogre::MaterialScriptContext::groupName

Definition at line 78 of file OgreMaterialSerializer.h.

## isFragmentProgramShadowCaster

bool Ogre::MaterialScriptContext::isFragmentProgramShadowCaster

When referencing, are we in context of shadow caster.

Definition at line 85 of file OgreMaterialSerializer.h.

## isFragmentProgramShadowReceiver

bool Ogre::MaterialScriptContext::isFragmentProgramShadowReceiver

When referencing, are we in context of shadow caster.

Definition at line 87 of file OgreMaterialSerializer.h.

## isVertexProgramShadowCaster

bool Ogre::MaterialScriptContext::isVertexProgramShadowCaster

Used when referencing a program, not when defining it.

Definition at line 84 of file OgreMaterialSerializer.h.

## isVertexProgramShadowReceiver

bool Ogre::MaterialScriptContext::isVertexProgramShadowReceiver

When referencing, are we in context of shadow caster.

Definition at line 86 of file OgreMaterialSerializer.h.

## lineNo

size_t Ogre::MaterialScriptContext::lineNo

Error reporting state.

Definition at line 98 of file OgreMaterialSerializer.h.

## material

MaterialPtr Ogre::MaterialScriptContext::material

Definition at line 79 of file OgreMaterialSerializer.h.

## numAnimationParametrics

ushort Ogre::MaterialScriptContext::numAnimationParametrics

Definition at line 89 of file OgreMaterialSerializer.h.

## pass

Pass* Ogre::MaterialScriptContext::pass

Definition at line 81 of file OgreMaterialSerializer.h.

## passLev

int Ogre::MaterialScriptContext::passLev

Definition at line 92 of file OgreMaterialSerializer.h.

## program

GpuProgramPtr Ogre::MaterialScriptContext::program

Definition at line 83 of file OgreMaterialSerializer.h.

## programDef

MaterialScriptProgramDefinition* Ogre::MaterialScriptContext::programDef

Definition at line 90 of file OgreMaterialSerializer.h.

## programParams

GpuProgramParametersSharedPtr Ogre::MaterialScriptContext::programParams

When referencing, are we in context of shadow caster.

Definition at line 88 of file OgreMaterialSerializer.h.

## section

MaterialScriptSection Ogre::MaterialScriptContext::section

Definition at line 77 of file OgreMaterialSerializer.h.

## stateLev

int Ogre::MaterialScriptContext::stateLev

Definition at line 92 of file OgreMaterialSerializer.h.

## techLev

int Ogre::MaterialScriptContext::techLev

This is used while defining a program.

Definition at line 92 of file OgreMaterialSerializer.h.

## technique

Technique* Ogre::MaterialScriptContext::technique

Definition at line 80 of file OgreMaterialSerializer.h.

## textureAliases

AliasTextureNamePairList Ogre::MaterialScriptContext::textureAliases

Definition at line 100 of file OgreMaterialSerializer.h.

## textureUnit

TextureUnitState* Ogre::MaterialScriptContext::textureUnit

Definition at line 82 of file OgreMaterialSerializer.h.

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

- OgreMaterialSerializer.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.