Panda3D
|
Encapsulates the data from a Geom, pre-fetched for one stage of the pipeline. More...
#include "geom.h"
Public Member Functions | |
GeomPipelineReader (const Geom *object, Thread *current_thread) | |
void | check_usage_hint () const |
Ensures that the Geom's usage_hint cache has been computed. | |
bool | check_valid (const GeomVertexDataPipelineReader *data_reader) const |
CPT (GeomVertexData) get_vertex_data() const | |
CPT (GeomPrimitive) get_primitive(int i) const | |
bool | draw (GraphicsStateGuardianBase *gsg, const GeomMunger *munger, const GeomVertexDataPipelineReader *data_reader, bool force) const |
The implementation of Geom::draw(). | |
Thread * | get_current_thread () const |
int | get_geom_rendering () const |
UpdateSeq | get_modified () const |
int | get_num_primitives () const |
const Geom * | get_object () const |
PrimitiveType | get_primitive_type () const |
ShadeModel | get_shade_model () const |
UsageHint | get_usage_hint () const |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
Encapsulates the data from a Geom, pre-fetched for one stage of the pipeline.
void GeomPipelineReader::check_usage_hint | ( | ) | const |
Ensures that the Geom's usage_hint cache has been computed.
Definition at line 1721 of file geom.cxx.
Referenced by Geom::draw().
bool GeomPipelineReader::draw | ( | GraphicsStateGuardianBase * | gsg, |
const GeomMunger * | munger, | ||
const GeomVertexDataPipelineReader * | data_reader, | ||
bool | force | ||
) | const |
The implementation of Geom::draw().
Definition at line 1780 of file geom.cxx.
References GeomPrimitivePipelineReader::check_minmax().
Referenced by Geom::draw().