30 if (_target !=
nullptr) {
33 static const Filename empty_filename;
34 return empty_filename;
52 _file_minor = minor_ver;
82 return _file_stdfloat_double;
92 return _file_texture_mode;
102 _file_texture_mode = file_texture_mode;
121 _root_node = root_node;
void set_file_minor_ver(int minor_ver)
Changes the minor .bam version to write.
get_file_endian
Returns the endian preference indicated by the Bam file currently being written.
int get_file_major_ver() const
Returns the major version number of the Bam file currently being written.
void set_file_texture_mode(BamTextureMode file_texture_mode)
Changes the BamTextureMode preference for the Bam file currently being written.
get_file_texture_mode
Returns the BamTextureMode preference indicated by the Bam file currently being written.
get_filename
If a BAM is a file, then the BamWriter should contain the name of the file.
get_file_stdfloat_double
Returns true if the file will store all "standard" floats as 64-bit doubles, or false if they are 32-...
get_root_node
Returns the root node of the part of the scene graph we are currently writing out.
set_root_node
Sets the root node of the part of the scene graph we are currently writing out.
int get_file_minor_ver() const
Returns the minor version number of the Bam file currently being written.
get_target
Returns the current target of the BamWriter as set by set_target() or the constructor.
This class defines the abstract interface to sending datagrams to any target, whether it be into a fi...
get_filename
Returns the filename that provides the target for these datagrams, if any, or empty string if the dat...
The name of a file, such as a texture file or an Egg file.
Base class for objects that can be written to and read from Bam files.