Panda3D
Public Member Functions | Static Public Member Functions | Public Attributes

LoaderFileTypeStf Class Reference

This defines the Loader interface to read SpeedTree STF files--a simple text file that describes a forest of trees (references to SRT files). More...

#include "loaderFileTypeStf.h"

Inheritance diagram for LoaderFileTypeStf:
LoaderFileType TypedObject MemoryBase

List of all members.

Public Member Functions

virtual TypeHandle force_init_type ()
virtual string get_extension () const
virtual string get_name () const
virtual TypeHandle get_type () const
virtual PT (PandaNode) load_file(const Filename &path
virtual bool supports_compressed () const
 Returns true if this file type can transparently load compressed files (with a .pz extension), false otherwise.

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()
 This function is declared non-inline to work around a compiler bug in g++ 2.96.

Public Attributes

virtual const LoaderOptions
BamCacheRecord *record 
const
virtual const LoaderOptionsoptions

Detailed Description

This defines the Loader interface to read SpeedTree STF files--a simple text file that describes a forest of trees (references to SRT files).

Definition at line 28 of file loaderFileTypeStf.h.


Member Function Documentation

static void LoaderFileTypeStf::init_type ( ) [inline, static]

This function is declared non-inline to work around a compiler bug in g++ 2.96.

Making it inline seems to cause problems in the optimizer.

Reimplemented from LoaderFileType.

Definition at line 43 of file loaderFileTypeStf.h.

References LoaderFileType::init_type().

bool LoaderFileTypeStf::supports_compressed ( ) const [virtual]

Returns true if this file type can transparently load compressed files (with a .pz extension), false otherwise.

Reimplemented from LoaderFileType.

Definition at line 57 of file loaderFileTypeStf.cxx.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations