FUDaePassStateShadeModel Namespace Reference

The render state shading model. More...


Enumerations

enum  Model {
  FLAT = 0x1D00,
  SMOOTH = 0x1D01,
  INVALID
}
 The shading model using when rasterizing. More...

Functions

FCOLLADA_EXPORT Model FromString (const char *value)
 Converts the COLLADA render state shading model type string to the shading model.
Model FromString (const fm::string &value)
 Converts the FCollada texture channel string into a texture channel.
FCOLLADA_EXPORT const char * ToString (Model model)
 Converts the shading model to its COLLADA render state shading model type string.


Detailed Description

The render state shading model.

Enumeration Type Documentation

enum FUDaePassStateShadeModel::Model
 

The shading model using when rasterizing.

Enumerator:
SMOOTH  Flat shading.
INVALID  Gouraud shading. An invalid shading model.


Function Documentation

Model FUDaePassStateShadeModel::FromString const fm::string value  )  [inline]
 

Converts the FCollada texture channel string into a texture channel.

Parameters:
value The COLLADA interpolation type string.
Returns:
The interpolation type.

FCOLLADA_EXPORT Model FUDaePassStateShadeModel::FromString const char *  value  ) 
 

Converts the COLLADA render state shading model type string to the shading model.

Parameters:
value The render state shading model type string.
Returns:
The polygon mode.

FCOLLADA_EXPORT const char* FUDaePassStateShadeModel::ToString Model  model  ) 
 

Converts the shading model to its COLLADA render state shading model type string.

Parameters:
model The shading model.
Returns:
The render state shading model type string.


Generated on Thu Feb 14 16:58:43 2008 for FCollada by  doxygen 1.4.6-NO