Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
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...

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. 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. More...
 
enum  BamObjectCode {
  BOC_push = 0, BOC_pop = 1, BOC_adjunct = 2, BOC_remove = 3,
  BOC_file_data = 4
}
 This is the code written along with each object. It is used to control object scoping. A BOC_push includes an object definition, and will always be eventually paired with a BOC_pop (which does not). A BOC_adjunct includes an object definition but does not push the level; it is associated with the current level. BOC_remove lists object ID's that have been deallocated on the sender end. BOC_file_data may appear at any level and indicates the following datagram contains auxiliary file data that may be referenced by a later object. More...
 
enum  BamTextureMode {
  BTM_unchanged = 0, BTM_fullpath = 1, BTM_relative = 2, BTM_basename = 3,
  BTM_rawdata = 4
}
 This enum is used to control how textures are written to a bam stream. More...
 

Detailed Description

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

Member Enumeration Documentation

enum 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.

Enumerator
BE_bigendian 
BE_littleendian 
BE_native 

This is the code written along with each object. It is used to control object scoping. A BOC_push includes an object definition, and will always be eventually paired with a BOC_pop (which does not). A BOC_adjunct includes an object definition but does not push the level; it is associated with the current level. BOC_remove lists object ID's that have been deallocated on the sender end. BOC_file_data may appear at any level and indicates the following datagram contains auxiliary file data that may be referenced by a later object.

Enumerator
BOC_push 
BOC_pop 
BOC_adjunct 
BOC_remove 
BOC_file_data 

This enum is used to control how textures are written to a bam stream.

Enumerator
BTM_unchanged 
BTM_fullpath 
BTM_relative 
BTM_basename 
BTM_rawdata