Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# Ogre::MaterialScriptContext Struct Reference

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

`#include <OgreMaterialSerializer.h>`

List of all members.

## Public Attributes

MaterialScriptSection | section
Material * | material
Technique * | technique
Pass * | pass
TextureUnitState * | textureUnit
GpuProgram * | program
bool | isProgramShadowCaster
bool | isProgramShadowReceiver
GpuProgramParametersSharedPtr | programParams
MaterialScriptProgramDefinition * | programDef
int | techLev
int | passLev
int | stateLev
StringVector | defaultParamLines
size_t | lineNo
String | filename

## Detailed Description

Struct for holding the script context while parsing.

Definition at line 62 of file OgreMaterialSerializer.h.

## Member Data Documentation

StringVector Ogre::MaterialScriptContext::defaultParamLines

| Definition at line 78 of file OgreMaterialSerializer.h. Referenced by Ogre::MaterialSerializer::finishProgramDefinition(), and Ogre::MaterialSerializer::parseScriptLine().

String Ogre::MaterialScriptContext::filename

| Definition at line 82 of file OgreMaterialSerializer.h. Referenced by Ogre::logParseError(), Ogre::MaterialSerializer::MaterialSerializer(), and Ogre::MaterialSerializer::parseScript().

bool Ogre::MaterialScriptContext::isProgramShadowCaster

| Definition at line 70 of file OgreMaterialSerializer.h. Referenced by Ogre::parseShadowCasterVertexProgramRef(), Ogre::parseShadowReceiverVertexProgramRef(), and Ogre::parseVertexProgramRef().

bool Ogre::MaterialScriptContext::isProgramShadowReceiver

| Definition at line 71 of file OgreMaterialSerializer.h. Referenced by Ogre::parseShadowCasterVertexProgramRef(), Ogre::parseShadowReceiverVertexProgramRef(), and Ogre::parseVertexProgramRef().

size_t Ogre::MaterialScriptContext::lineNo

| Definition at line 81 of file OgreMaterialSerializer.h. Referenced by Ogre::logParseError(), Ogre::MaterialSerializer::MaterialSerializer(), and Ogre::MaterialSerializer::parseScript().

Material* Ogre::MaterialScriptContext::material

| Definition at line 65 of file OgreMaterialSerializer.h. Referenced by Ogre::logParseError(), Ogre::MaterialSerializer::MaterialSerializer(), Ogre::parseLodDistances(), Ogre::parseMaterial(), Ogre::parseReceiveShadows(), Ogre::MaterialSerializer::parseScript(), Ogre::MaterialSerializer::parseScriptLine(), Ogre::parseTechnique(), and Ogre::parseTransparencyCastsShadows().

Pass* Ogre::MaterialScriptContext::pass

Definition at line 67 of file OgreMaterialSerializer.h.

Referenced by Ogre::MaterialSerializer::MaterialSerializer(), Ogre::parseAmbient(), Ogre::parseColourWrite(), Ogre::parseCullHardware(), Ogre::parseCullSoftware(), Ogre::parseDepthBias(), Ogre::parseDepthCheck(), Ogre::parseDepthFunc(), Ogre::parseDepthWrite(), Ogre::parseDiffuse(), Ogre::parseEmissive(), Ogre::parseFogging(), Ogre::parseFragmentProgramRef(), Ogre::parseIteration(), Ogre::parseLighting(), Ogre::parseMaxLights(), Ogre::parsePass(), Ogre::parseSceneBlend(), Ogre::MaterialSerializer::parseScript(), Ogre::MaterialSerializer::parseScriptLine(), Ogre::parseShading(), Ogre::parseShadowCasterVertexProgramRef(), Ogre::parseShadowReceiverVertexProgramRef(), Ogre::parseSpecular(), Ogre::parseTextureUnit(), and Ogre::parseVertexProgramRef().

int Ogre::MaterialScriptContext::passLev

| Definition at line 75 of file OgreMaterialSerializer.h. Referenced by Ogre::MaterialSerializer::MaterialSerializer(), Ogre::parsePass(), Ogre::MaterialSerializer::parseScript(), Ogre::MaterialSerializer::parseScriptLine(), and Ogre::parseTextureSource().

GpuProgram* Ogre::MaterialScriptContext::program

Definition at line 69 of file OgreMaterialSerializer.h.

Referenced by Ogre::MaterialSerializer::finishProgramDefinition(), Ogre::MaterialSerializer::MaterialSerializer(), Ogre::parseFragmentProgramRef(), Ogre::parseParamIndexed(), Ogre::parseParamIndexedAuto(), Ogre::parseParamNamed(), Ogre::parseParamNamedAuto(), Ogre::MaterialSerializer::parseScript(), Ogre::MaterialSerializer::parseScriptLine(), Ogre::parseShadowCasterVertexProgramRef(), Ogre::parseShadowReceiverVertexProgramRef(), and Ogre::parseVertexProgramRef().

MaterialScriptProgramDefinition* Ogre::MaterialScriptContext::programDef

| Definition at line 73 of file OgreMaterialSerializer.h. Referenced by Ogre::MaterialSerializer::finishProgramDefinition(), Ogre::parseFragmentProgram(), Ogre::parseProgramCustomParameter(), Ogre::parseProgramSkeletalAnimation(), Ogre::parseProgramSource(), Ogre::parseProgramSyntax(), Ogre::MaterialSerializer::parseScriptLine(), and Ogre::parseVertexProgram().

GpuProgramParametersSharedPtr Ogre::MaterialScriptContext::programParams

Definition at line 72 of file OgreMaterialSerializer.h.

Referenced by Ogre::MaterialSerializer::finishProgramDefinition(), Ogre::parseFragmentProgramRef(), Ogre::parseParamNamed(), Ogre::parseParamNamedAuto(), Ogre::parseShadowCasterVertexProgramRef(), Ogre::parseShadowReceiverVertexProgramRef(), Ogre::parseVertexProgramRef(), Ogre::processAutoProgramParam(), and Ogre::processManualProgramParam().

MaterialScriptSection Ogre::MaterialScriptContext::section

Definition at line 64 of file OgreMaterialSerializer.h.

Referenced by Ogre::MaterialSerializer::MaterialSerializer(), Ogre::parseDefaultParams(), Ogre::parseFragmentProgram(), Ogre::parseFragmentProgramRef(), Ogre::parseMaterial(), Ogre::parsePass(), Ogre::MaterialSerializer::parseScript(), Ogre::MaterialSerializer::parseScriptLine(), Ogre::parseShadowCasterVertexProgramRef(), Ogre::parseShadowReceiverVertexProgramRef(), Ogre::parseTechnique(), Ogre::parseTextureSource(), Ogre::parseTextureUnit(), Ogre::parseVertexProgram(), and Ogre::parseVertexProgramRef().

int Ogre::MaterialScriptContext::stateLev

| Definition at line 75 of file OgreMaterialSerializer.h. Referenced by Ogre::MaterialSerializer::MaterialSerializer(), Ogre::MaterialSerializer::parseScript(), Ogre::MaterialSerializer::parseScriptLine(), Ogre::parseTextureSource(), and Ogre::parseTextureUnit().

int Ogre::MaterialScriptContext::techLev

| Definition at line 75 of file OgreMaterialSerializer.h. Referenced by Ogre::MaterialSerializer::MaterialSerializer(), Ogre::MaterialSerializer::parseScript(), Ogre::MaterialSerializer::parseScriptLine(), Ogre::parseTechnique(), and Ogre::parseTextureSource().

Technique* Ogre::MaterialScriptContext::technique

| Definition at line 66 of file OgreMaterialSerializer.h. Referenced by Ogre::MaterialSerializer::MaterialSerializer(), Ogre::parseLodIndex(), Ogre::parsePass(), Ogre::MaterialSerializer::parseScript(), Ogre::MaterialSerializer::parseScriptLine(), and Ogre::parseTechnique().

TextureUnitState* Ogre::MaterialScriptContext::textureUnit

Definition at line 68 of file OgreMaterialSerializer.h.

Referenced by Ogre::MaterialSerializer::MaterialSerializer(), Ogre::parseAlphaOpEx(), Ogre::parseAlphaRejection(), Ogre::parseAnimTexture(), Ogre::parseAnisotropy(), Ogre::parseColourOp(), Ogre::parseColourOpEx(), Ogre::parseColourOpFallback(), Ogre::parseCubicTexture(), Ogre::parseEnvMap(), Ogre::parseFiltering(), Ogre::parseRotate(), Ogre::parseRotateAnim(), Ogre::parseScale(), Ogre::MaterialSerializer::parseScript(), Ogre::MaterialSerializer::parseScriptLine(), Ogre::parseScroll(), Ogre::parseScrollAnim(), Ogre::parseTexAddressMode(), Ogre::parseTexCoord(), Ogre::parseTexture(), Ogre::parseTextureUnit(), and Ogre::parseWaveXform().

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

- OgreMaterialSerializer.h

Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:51:11 2004