Panda3D
Loading...
Searching...
No Matches
Public Types | List of all members
BamEnums Class Reference

This class exists just to provide scoping for the enums shared by BamReader and BamWriter. More...

#include "bamEnums.h"

Inheritance diagram for BamEnums:
BamFile BamReader BamWriter

Public Types

enum  BamEndian { BE_bigendian = 0 , BE_littleendian = 1 , BE_native = 1 }
 This defines an enumerated type used to represent the endianness of certain numeric values stored in a Bam file. More...
 
enum  BamObjectCode {
  BOC_push , BOC_pop , BOC_adjunct , BOC_remove ,
  BOC_file_data
}
 This is the code written along with each object. More...
 
enum  BamTextureMode {
  BTM_unchanged , BTM_fullpath , BTM_relative , BTM_basename ,
  BTM_rawdata
}
 

Detailed Description

This class exists just to provide scoping for the enums shared by BamReader and BamWriter.

Definition at line 23 of file bamEnums.h.

Member Enumeration Documentation

◆ BamEndian

This defines an enumerated type used to represent the endianness of certain numeric values stored in a Bam file.

It really has only two possible values, either BE_bigendian or BE_littleendian; but through a preprocessor trick we also add BE_native, which is the same numerically as whichever value the hardware supports natively.

Definition at line 32 of file bamEnums.h.

◆ BamObjectCode

This is the code written along with each object.

It is used to control object scoping.

Definition at line 46 of file bamEnums.h.

◆ BamTextureMode

enum BamEnums::BamTextureMode

Definition at line 65 of file bamEnums.h.


The documentation for this class was generated from the following file: