Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

NBFFaceAttribute Struct Reference

The NBFFaceAttribute structure represents a render mode. More...

#include <NBF.h>

Inheritance diagram for NBFFaceAttribute:

Inheritance graph
[legend]
Collaboration diagram for NBFFaceAttribute:

Collaboration graph
[legend]
List of all members.

Public Methods

 PADDING (2)
 Padding bits to ensure offset of polygonOffsetFactor is on a 4-byte boundary, regardless of packing. More...

 PADDING (7)
 Padding bits to ensure the size of NBFStateAttribute is a multiple of 4, regardless of packing. More...


Public Attributes

float3_t ambientColor
 Specifies the gloabal ambient color to be used for rendering. More...

ubyte_t backFaceCulling
 Specifies if culling of back faces should be enabled for rendering. More...

ubyte_t polygonOffsetEnabled
 Specifies if polygon offset should be enabled for rendering. More...

float polygonOffsetFactor
 Specifies the scale factor to be used to create a variable depth offset for a polygon. More...

float polygonOffsetUnits
 Specifies a unit that is multiplied by a render API implementation-specific value to create a constant depth offset. More...

ubyte_t twoSidedLighting
 Specifies if two-sided lighting should be enabled for rendering. More...


Detailed Description

The NBFFaceAttribute structure represents a render mode.

The object code for a NBFFaceAttribute is NBF_FACE_ATTRIBUTE.


Member Function Documentation

NBFFaceAttribute::PADDING  
 

Padding bits to ensure offset of polygonOffsetFactor is on a 4-byte boundary, regardless of packing.

NBFFaceAttribute::PADDING  
 

Padding bits to ensure the size of NBFStateAttribute is a multiple of 4, regardless of packing.


Member Data Documentation

float3_t NBFFaceAttribute::ambientColor
 

Specifies the gloabal ambient color to be used for rendering.

ubyte_t NBFFaceAttribute::backFaceCulling
 

Specifies if culling of back faces should be enabled for rendering.

ubyte_t NBFFaceAttribute::polygonOffsetEnabled
 

Specifies if polygon offset should be enabled for rendering.

float NBFFaceAttribute::polygonOffsetFactor
 

Specifies the scale factor to be used to create a variable depth offset for a polygon.

float NBFFaceAttribute::polygonOffsetUnits
 

Specifies a unit that is multiplied by a render API implementation-specific value to create a constant depth offset.

ubyte_t NBFFaceAttribute::twoSidedLighting
 

Specifies if two-sided lighting should be enabled for rendering.


The documentation for this struct was generated from the following file:
Generated on Tue Mar 1 13:20:15 2005 for NVSGSDK by NVIDIA