Panda3D
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

GeomVertexDataPipelineReader Class Reference

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

#include "geomVertexData.h"

Inheritance diagram for GeomVertexDataPipelineReader:
GeomVertexDataPipelineBase GeomEnums

List of all members.

Public Types

enum  AnimationType { AT_none, AT_panda, AT_hardware }
enum  Contents {
  C_other, C_point, C_clip_point, C_vector,
  C_texcoord, C_color, C_index, C_morph_delta
}
enum  GeomRendering {
  GR_indexed_point = 0x00001, GR_indexed_other = 0x10000, GR_indexed_bits = 0x10001, GR_point = 0x00002,
  GR_point_uniform_size = 0x00004, GR_per_point_size = 0x00008, GR_point_perspective = 0x00010, GR_point_aspect_ratio = 0x00020,
  GR_point_scale = 0x00040, GR_point_rotate = 0x00080, GR_point_sprite = 0x00100, GR_point_sprite_tex_matrix = 0x00200,
  GR_point_bits = 0x003fe, GR_triangle_strip = 0x00400, GR_triangle_fan = 0x00800, GR_line_strip = 0x01000,
  GR_composite_bits = 0x01c00, GR_flat_first_vertex = 0x02000, GR_flat_last_vertex = 0x04000, GR_shade_model_bits = 0x06000,
  GR_texcoord_light_vector = 0x08000
}
enum  NumericType {
  NT_uint8, NT_uint16, NT_uint32, NT_packed_dcba,
  NT_packed_dabc, NT_float32
}
enum  PrimitiveType { PT_none, PT_polygons, PT_lines, PT_points }
enum  ShadeModel { SM_uniform, SM_smooth, SM_flat_first_vertex, SM_flat_last_vertex }
enum  UsageHint {
  UH_client, UH_stream, UH_dynamic, UH_static,
  UH_unspecified
}

Public Member Functions

 GeomVertexDataPipelineReader (const GeomVertexData *object, Thread *current_thread)
void check_array_readers () const
 CPT (GeomVertexArrayData) get_array(int i) const
 CPT (TransformBlendTable) get_transform_blend_table() const
bool get_array_info (const InternalName *name, const GeomVertexArrayDataHandle *&array_reader, int &num_values, NumericType &numeric_type, int &start, int &stride) const
const GeomVertexArrayDataHandleget_array_reader (int i) const
bool get_color_info (const GeomVertexArrayDataHandle *&array_reader, int &num_values, NumericType &numeric_type, int &start, int &stride) const
Threadget_current_thread () const
const GeomVertexFormatget_format () const
UpdateSeq get_modified () const
bool get_normal_info (const GeomVertexArrayDataHandle *&array_reader, NumericType &numeric_type, int &start, int &stride) const
int get_num_arrays () const
int get_num_bytes () const
int get_num_rows () const
const GeomVertexDataget_object () const
const SliderTableget_slider_table () const
const TransformTableget_transform_table () const
UsageHint get_usage_hint () const
bool get_vertex_info (const GeomVertexArrayDataHandle *&array_reader, int &num_values, NumericType &numeric_type, int &start, int &stride) const
bool has_color () const
bool has_column (const InternalName *name) const
bool has_normal () const
bool has_vertex () const
bool is_vertex_transformed () const

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()

Protected Member Functions

 PT (GeomVertexData) _object

Protected Attributes

GeomVertexData::CData * _cdata
Thread_current_thread

Detailed Description

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

Definition at line 404 of file geomVertexData.h.


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