Classes | Enumerations

CC3TextureUnit.h File Reference

#import "CC3OpenGLES11Textures.h"
#import "CC3NodeVisitor.h"
#import "CCProtocols.h"

Classes

class  CC3BumpMapTextureUnit
 A texture unit configured for DOT3 bump-mapping. More...
class  CC3ConfigurableTextureUnit
 A texture unit that provides complete flexibility to define the way the texture will be combined with the output of previous texture units. More...
class  CC3TextureUnit
 CC3TextureUnit is used by CC3Texture to configure the GL texture unit to which the texture is being applied. More...

Enumerations

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

Detailed Description


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.