프로퍼티 | 타입 | 설명 | |
---|---|---|---|
materialAttribParsers | AxiomCollection |
||
passAttribParsers | AxiomCollection |
||
programAttribParsers | AxiomCollection |
||
programDefaultParamAttribParsers | AxiomCollection |
||
programRefAttribParsers | AxiomCollection |
||
rootAttribParsers | AxiomCollection |
||
scriptContext | |||
techniqueAttribParsers | AxiomCollection |
||
textureUnitAttribParsers | AxiomCollection |
메소드 | 설명 | |
---|---|---|
MaterialSerializer ( ) : System |
Default constructor.
|
|
ParseScript ( Stream stream, string groupName, string fileName ) : void |
Parses a Material script file passed in the specified stream.
|
메소드 | 설명 | |
---|---|---|
FinishProgramDefinition ( ) : void |
Internal method for saving a program definition which has been built up.
|
|
InvokeParser ( string line, AxiomCollection |
Internal method for finding & invoking an attribute parser.
|
|
LogParseError ( |
Helper method for logging parser errors.
|
|
ParseProgramCustomParameter ( string parameters, |
Parse custom GPU program parameters. This one is called explicitly, and is not added to any parser list. |
|
ParseScriptLine ( string line ) : bool |
Internal method for parsing a material.
|
|
ProcessAutoProgramParam ( int index, string commandName, string parameters, |
|
|
ProcessManualProgramParam ( int index, string commandName, string parameters, |
|
|
RegisterParserMethods ( ) : void |
Queries this serializer class for methods intended to parse material script attributes.
|
메소드 | 설명 | |
---|---|---|
ParseAlphaOpEx ( string parameters, |
||
ParseAlphaRejection ( string parameters, |
||
ParseAmbient ( string parameters, |
||
ParseAnimTexture ( string parameters, |
||
ParseAnisotropy ( string parameters, |
||
ParseBindingType ( string parameters, |
||
ParseColorOp ( string parameters, |
||
ParseColorOpEx ( string parameters, |
||
ParseColorOpFallback ( string parameters, |
||
ParseColorWrite ( string parameters, |
||
ParseCubicTexture ( string parameters, |
||
ParseCullHardware ( string parameters, |
||
ParseCullSoftware ( string parameters, |
||
ParseDefaultParams ( string parameters, |
||
ParseDepthBias ( string parameters, |
||
ParseDepthCheck ( string parameters, |
||
ParseDepthFunc ( string parameters, |
||
ParseDepthWrite ( string parameters, |
||
ParseDiffuse ( string parameters, |
||
ParseEmissive ( string parameters, |
||
ParseEnvMap ( string parameters, |
||
ParseFiltering ( string parameters, |
||
ParseFogOverride ( string parameters, |
||
ParseFragmentProgram ( string parameters, |
||
ParseFragmentProgramRef ( string parameters, |
||
ParseIteration ( string parameters, |
||
ParseLighting ( string parameters, |
||
ParseLodDistances ( string parameters, |
||
ParseLodIndex ( string parameters, |
||
ParseLodStrategy ( string parameters, |
||
ParseMaterial ( string parameters, |
||
ParseMaxLights ( string parameters, |
||
ParseParamIndexed ( string parameters, |
||
ParseParamIndexedAuto ( string parameters, |
||
ParseParamNamed ( string parameters, |
||
ParseParamNamedAuto ( string parameters, |
||
ParsePass ( string parameters, |
||
ParseProgramMorphAnimation ( string parameters, |
||
ParseProgramPoseAnimation ( string parameters, |
||
ParseProgramSkeletalAnimation ( string parameters, |
||
ParseProgramSource ( string parameters, |
||
ParseProgramSyntax ( string parameters, |
||
ParseReceiveShadows ( string parameters, |
||
ParseRotate ( string parameters, |
||
ParseRotateAnim ( string parameters, |
||
ParseScale ( string parameters, |
||
ParseSceneBlend ( string parameters, |
||
ParseScheme ( string parameters, |
||
ParseScroll ( string parameters, |
||
ParseScrollAnim ( string parameters, |
||
ParseSetTextureAlias ( string parameters, |
||
ParseShading ( string parameters, |
||
ParseShadowCasterFragmentProgramRef ( string parameters, |
||
ParseShadowCasterVertexProgramRef ( string parameters, |
||
ParseShadowReceiverFragmentProgramRef ( string parameters, |
||
ParseShadowReceiverVertexProgramRef ( string parameters, |
||
ParseSpecular ( string parameters, |
||
ParseTechnique ( string parameters, |
||
ParseTexAddressMode ( string parameters, |
||
ParseTexBorderColor ( string parameters, |
||
ParseTexCoordSet ( string parameters, |
||
ParseTexture ( string parameters, |
||
ParseTextureAlias ( string parameters, |
||
ParseTextureUnit ( string parameters, |
||
ParseTransparencyCastsShadows ( string parameters, |
||
ParseVertexProgram ( string parameters, |
||
ParseVertexProgramRef ( string parameters, |
||
ParseWaveXForm ( string parameters, |
protected InvokeParser ( string line, AxiomCollection |
||
line | string | |
parsers | AxiomCollection |
|
리턴 | bool |
protected static LogParseError ( |
||
context | Current parsing context. | |
error | string | Error message. |
리턴 | void |
protected static ParseProgramCustomParameter ( string parameters, |
||
parameters | string | |
context | ||
리턴 | bool |
public ParseScript ( Stream stream, string groupName, string fileName ) : void | ||
stream | Stream | Stream containing the material file data. |
groupName | string | Name of the material group. |
fileName | string | |
리턴 | void |
protected static ProcessAutoProgramParam ( int index, string commandName, string parameters, |
||
index | int | |
commandName | string | |
parameters | string | |
context | ||
리턴 | void |
protected static ProcessManualProgramParam ( int index, string commandName, string parameters, |
||
index | int | |
commandName | string | |
parameters | string | |
context | ||
리턴 | void |
protected AxiomCollection |
||
리턴 | AxiomCollection |
protected AxiomCollection |
||
리턴 | AxiomCollection |
protected AxiomCollection |
||
리턴 | AxiomCollection |
protected MaterialScriptContext,Axiom.Serialization scriptContext | ||
리턴 |
protected AxiomCollection |
||
리턴 | AxiomCollection |