v2.0.2
Instance Methods | Class Methods | List of all members
CC3PVRShamanShaderSemantics Class Reference

#import <CC3PVRShamanShaderSemantics.h>

Inheritance diagram for CC3PVRShamanShaderSemantics:
Inheritance graph
[legend]

Instance Methods

(GLenum) - semanticForPFXSemanticName:
 
- Instance Methods inherited from CC3PFXShaderSemantics
(void) - populateWithVariableNameMappingsFromPFXEffect:
 
(BOOL) - resolveSemanticForVariableConfiguration:
 
- Instance Methods inherited from CC3ShaderSemanticsByVarName
(void) - __deprecated
 
(void) - __deprecated
 
(void) - addVariableConfiguration:
 
(BOOL) - configureVariable:
 
(void) - mapVarName:toSemantic:
 
(void) - mapVarName:toSemantic:at:
 
(void) - populateWithDefaultVariableNameMappings
 
- Instance Methods inherited from CC3ShaderSemanticsBase
(NSString *) - nameOfSemantic:
 
(BOOL) - populateUniform:withVisitor:
 

Class Methods

(void) + addSemantic:forPVRShamanSemanticName:
 
(GLenum) + semanticForPVRShamanSemanticName:
 

Detailed Description

CC3PVRShamanShaderSemantics provides a mapping from the PVRShaman names declared in a PFX effect within a PFX effects file, and the standard semantics from the CC3Semantic enumeration.

Method Documentation

+ (void) addSemantic: (GLenum)  semantic
forPVRShamanSemanticName: (NSString *)  semanticName 

By default, this class populates the standard mappings between PVRShaman semantic names and semantic values.

You can use this method to add an additional mapping, or to change an existing mapping.

- (GLenum) semanticForPFXSemanticName: (NSString *)  semanticName

Returns the semantic value corresponding the the specified PFX semantic name, or returns kCC3SemanticNone if the semantic could not be determined from the PFX semantic name.

This implementation simply delegates to the class-side semanticForPVRShamanSemanticName: method.

Implements CC3PFXShaderSemantics.

+ (GLenum) semanticForPVRShamanSemanticName: (NSString *)  semanticName

Returns the semantic value corresponding the the specified PVRShaman semantic name, or returns kCC3SemanticNone if the semantic could not be determined from the PVRShaman semantic name.


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