Panda3D
Public Member Functions | Static Public Member Functions
GeomPrimitivePipelineReader Class Reference

Encapsulates the data from a GeomPrimitive, pre-fetched for one stage of the pipeline. More...

#include "geomPrimitive.h"

Inheritance diagram for GeomPrimitivePipelineReader:
GeomEnums

List of all members.

Public Member Functions

 GeomPrimitivePipelineReader (const GeomPrimitive *object, Thread *current_thread)
void check_minmax () const
 Ensures that the primitive's minmax cache has been computed.
bool check_valid (const GeomVertexDataPipelineReader *data_reader) const
 CPT (GeomVertexArrayData) get_mins() const
 CPT (GeomVertexArrayData) get_maxs() const
Threadget_current_thread () const
int get_data_size_bytes () const
 Returns the number of bytes stored in the vertices array.
CPTA_int get_ends () const
int get_first_vertex () const
int get_index_stride () const
NumericType get_index_type () const
int get_max_vertex () const
int get_min_vertex () const
UpdateSeq get_modified () const
int get_num_primitives () const
int get_num_vertices () const
const GeomPrimitiveget_object () const
const unsigned char * get_read_pointer (bool force) const
ShadeModel get_shade_model () const
UsageHint get_usage_hint () const
int get_vertex (int i) const
 Returns the ith vertex index in the table.
const GeomVertexArrayDataHandleget_vertices_reader () const
bool is_indexed () const

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()

Detailed Description

Encapsulates the data from a GeomPrimitive, pre-fetched for one stage of the pipeline.

Definition at line 327 of file geomPrimitive.h.


Member Function Documentation

Ensures that the primitive's minmax cache has been computed.

Definition at line 2000 of file geomPrimitive.cxx.

Referenced by GeomPrimitive::check_valid(), GeomPipelineReader::draw(), GeomPrimitive::get_max_vertex(), and GeomPrimitive::get_min_vertex().

Returns the ith vertex index in the table.

Definition at line 2055 of file geomPrimitive.cxx.

References GeomVertexReader::set_row_unsafe().

Referenced by GeomPrimitive::get_vertex().


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