#include <NBF.h>
Public Member Functions | |
PADDING (2) | |
Padding bits to ensure offset of scene is on a 4-byte boundary, regardless of packing. | |
Public Attributes | |
byte_t | signature [4] |
A 4-byte signature identifying the file as a valid NBF file. The bytes are "#NBF". | |
ubyte_t | nbfMajorVersion |
Specifies the major part of the NBF version used to save the file. | |
ubyte_t | nbfMinorVersion |
Specifies the minor part (compatibility level) of the NBF version used to save the file. | |
ubyte_t | nbfBugfixLevel |
ubyte_t | nvsgMajorVersion |
Specifies the major part of the NVSG version the content of this file is compatible to. | |
ubyte_t | nvsgMinorVersion |
Specifies the minor part of the NVSG version the content of this file is compatible to. | |
ubyte_t | nvsgBugfixLevel |
ubyte_t | reserved [16] |
Reserved bytes for future extensions. | |
ubyte_t | dayLastModified |
Specifies the day (1-31) of last modification. | |
ubyte_t | monthLastModified |
Specifies the month (1-12) of last modification. | |
ubyte_t | yearLastModified [2] |
Specifies the year of last modification. | |
ubyte_t | secondLastModified |
Specifies the second (0-59) of last modification. | |
ubyte_t | minuteLastModified |
Specifies the minute (0-59) of last modification. | |
ubyte_t | hourLastModified |
Specifies the hour (0-23) of last modification. | |
ubyte_t | byteOrder |
uint_t | scene |
Specifies the file offset to the contained NBFScene object. | |
uint_t | viewState |
The NBFHeader structure is the primary location where NBF specifics are stored.
For a valid NBF file, the NBFHeader structure is stored at file offset 0. Note that, except for the NBFHeader object, a file offset of 0 indicates an invalid file offset!
This structure mainly serves as validation and compatibility checks for verification purposes. It also maintains the file offset to the contained NBFScene object, which represents a scene in the context of computer graphics.
|
Padding bits to ensure offset of scene is on a 4-byte boundary, regardless of packing.
|
|
A 4-byte signature identifying the file as a valid NBF file. The bytes are "#NBF".
|
|
Specifies the major part of the NBF version used to save the file.
|
|
Specifies the minor part (compatibility level) of the NBF version used to save the file.
|
|
Specifies the bugfix level of the NBF version used to save the file. This is optional information, as a bugfix level does not influence compatibility issues, and hence must not be taken into account for compatibility checks. |
|
Specifies the major part of the NVSG version the content of this file is compatible to.
|
|
Specifies the minor part of the NVSG version the content of this file is compatible to.
|
|
Specifies the bugfix level of the NVSG version. This is optional information, as a bugfix level does not influence compatibility issues, and hence must not be taken into account for compatibility checks. |
|
Reserved bytes for future extensions.
|
|
Specifies the day (1-31) of last modification.
|
|
Specifies the month (1-12) of last modification.
|
|
Specifies the year of last modification.
|
|
Specifies the second (0-59) of last modification.
|
|
Specifies the minute (0-59) of last modification.
|
|
Specifies the hour (0-23) of last modification.
|
|
Specifies the byte order used to save the contained data. A value of 0 implies little-endian byte order, a value of 1 implies big-endian byte order. It is more convenient to use the symbolic constants NBF_LITTLE_ENDIAN and NBF_BIG_ENDIAN here. |
|
Specifies the file offset to the contained NBFScene object.
|
|
Specifies the file offset to an optional NBFViewState object. An offset of 0 indicates that no NBFViewState object is available in this file. |