v2.0.2
Classes | Enumerations
CC3TextureUnit.h File Reference
#import "CC3NodeVisitor.h"
#import "CCProtocols.h"
#import "CC3CC2Extensions.h"

Classes

class  CC3BumpMapTextureUnit
 
class  CC3ConfigurableTextureUnit
 
class  CC3TextureUnit
 

Enumerations

enum  CC3DOT3RGB {
  kCC3DOT3RGB_XYZ, kCC3DOT3RGB_XZY, kCC3DOT3RGB_YXZ, kCC3DOT3RGB_YZX,
  kCC3DOT3RGB_ZXY, kCC3DOT3RGB_ZYX
}
 

Enumeration Type Documentation

enum CC3DOT3RGB

In a bump-map configuration, indicates how the XYZ coordinates of each per-pixel normal are stored in the RGB values of each pixel.

The texture has three slots (R, G & B) in which to store three normal coordinate components (X, Y & Z). This can be done in any of six ways, as indicated by the values of the CC3DOT3RGB enumeration.

Enumerator
kCC3DOT3RGB_XYZ 

R=X, G=Y, B=Z.

kCC3DOT3RGB_XZY 

R=X, G=Z, B=Y.

kCC3DOT3RGB_YXZ 

R=Y, G=X, B=Z.

kCC3DOT3RGB_YZX 

R=Y, G=Z, B=X.

kCC3DOT3RGB_ZXY 

R=Z, G=X, B=Y.

kCC3DOT3RGB_ZYX 

R=Z, G=Y, B=X.