15 #ifndef GEOMTRISTRIPS_H
16 #define GEOMTRISTRIPS_H
18 #include "pandabase.h"
19 #include "geomPrimitive.h"
34 virtual PrimitiveType get_primitive_type()
const;
49 virtual bool requires_unused_vertices()
const;
54 static void register_with_read_factory();
63 static void init_type() {
64 GeomPrimitive::init_type();
65 register_type(_type_handle,
"GeomTristrips",
66 GeomPrimitive::get_class_type());
69 return get_class_type();
71 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
virtual int get_min_num_vertices_per_primitive() const
Returns the minimum number of vertices that must be added before close_primitive() may legally be cal...
Base class for objects that can be written to and read from Bam files.
This is an abstract base class for a family of classes that represent the fundamental geometry primit...
Defines a series of triangle strips.
virtual int get_num_unused_vertices_per_primitive() const
Returns the number of vertices that are added between primitives that aren't, strictly speaking...
virtual int get_geom_rendering() const
Returns the set of GeomRendering bits that represent the rendering properties required to properly re...
A container for geometry primitives.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the variou...
TypeHandle is the identifier used to differentiate C++ class types.
Encapsulates the data from a GeomPrimitive, pre-fetched for one stage of the pipeline.
This is the data for one array of a GeomVertexData structure.