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

NBFObject Struct Reference

The NBFObject structure represents general object data. More...

#include <NBF.h>

Inheritance diagram for NBFObject:

Inheritance graph
[legend]
Collaboration diagram for NBFObject:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PADDING (3)
 Padding bits to ensure offset of objectDataID is on a 8-byte boundary, regardless of packing.
 PADDING (4)
 Padding bits to ensure the size of NBFObject is a multiple of 8, regardless of packing.

Public Attributes

uint_t objectCode
 Specifies the object code of the actual object. The object code is unique per object type!
ubyte_t isShared
uint64_t objectDataID
 A unique 64-bit value to identify shared object data while loading.
uint_t sourceObject
str_t objectName
 Specifies an optional name for the actual object.

Detailed Description

The NBFObject structure represents general object data.


Member Function Documentation

NBFObject::PADDING  ) 
 

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

Reimplemented in NBFSimpleCamera.

NBFObject::PADDING  ) 
 

Padding bits to ensure the size of NBFObject is a multiple of 8, regardless of packing.

Reimplemented in NBFTrafoAnimation, NBFFramedTrafoAnimation, NBFFramedVNVectorAnimation, NBFAnimatedTriangles, NBFAnimatedQuads, NBFLOD, NBFTransform, NBFAnimatedTransform, NBFPointLight, NBFSpotLight, and NBFCgFx.


Member Data Documentation

uint_t NBFObject::objectCode
 

Specifies the object code of the actual object. The object code is unique per object type!

ubyte_t NBFObject::isShared
 

Indicates whether the data of the actual object is shared among different objects. A value of 1 indicates that this object's data is shared, whereas a value of 0 indicates that this object's data is not shared.

uint64_t NBFObject::objectDataID
 

A unique 64-bit value to identify shared object data while loading.

uint_t NBFObject::sourceObject
 

Specifies the file offset to the source object in case of data sharing. A file offset of 0 always indicates that no source object is available for the actual object.

str_t NBFObject::objectName
 

Specifies an optional name for the actual object.


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