v2.0.2
Classes | Enumerations | Functions
CC3PVRShamanShaderSemantics.h File Reference
#import "CC3PFXResource.h"

Classes

class  CC3PVRShamanShaderSemantics
 

Enumerations

enum  CC3PVRShamanSemantic {
  kCC3PVRShamanSemanticNone = kCC3SemanticAppBase, kCC3PVRShamanSemanticLightSpotFalloff, kCC3PVRShamanSemanticViewportSize, kCC3PVRShamanSemanticViewportClipping,
  kCC3PVRShamanSemanticElapsedTimeLastFrame, kCC3PVRShamanSemanticAppBase
}
 

Functions

NSString * NSStringFromCC3PVRShamanSemantic (CC3PVRShamanSemantic semantic)
 

Enumeration Type Documentation

Extension of the semantics enumeration to add semantics for content that is specific to PVRShaman, either in content or form.

Since these semantics extend the standard semantics, this enumeration starts at kCC3SemanticAppBase. You can add custom semantics starting at kCC3PVRShamanSemanticAppBase.

Enumerator
kCC3PVRShamanSemanticNone 

No defined semantic usage.

kCC3PVRShamanSemanticLightSpotFalloff 

Cutoff angle and exponent of a spotlight (vec2).

kCC3PVRShamanSemanticViewportSize 

Viewport size.

kCC3PVRShamanSemanticViewportClipping 

Near distance, far distance, width angle (radians), height angle (radians).

kCC3PVRShamanSemanticElapsedTimeLastFrame 

The elapsed time since the app started, measured at the last frame, in seconds.

kCC3PVRShamanSemanticAppBase 

First semantic of app-specific custom semantics.

Function Documentation

NSString* NSStringFromCC3PVRShamanSemantic ( CC3PVRShamanSemantic  semantic)

Returns a string representation of the specified semantic.