28 GeomLinesAdjacency(GeomEnums::UsageHint usage_hint) :
46 ~GeomLinesAdjacency() {
65 GeomPrimitive::PrimitiveType GeomLinesAdjacency::
66 get_primitive_type()
const {
74 int GeomLinesAdjacency::
75 get_geom_rendering()
const {
86 int GeomLinesAdjacency::
87 get_num_vertices_per_primitive()
const {
95 int GeomLinesAdjacency::
96 get_min_num_vertices_per_primitive()
const {
103 bool GeomLinesAdjacency::
106 return gsg->draw_lines_adj(reader, force);
112 void GeomLinesAdjacency::
113 register_with_read_factory() {
129 object->fillin(scan, manager);
Defines a series of disconnected line segments with adjacency information, for use with geometry shad...
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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...
PT(GeomPrimitive) GeomLinesAdjacency
Returns the fundamental rendering type of this primitive: whether it is points, lines,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void parse_params(const FactoryParams ¶ms, DatagramIterator &scan, BamReader *&manager)
Takes in a FactoryParams, passed from a WritableFactory into any TypedWritable's make function,...
An instance of this class is passed to the Factory when requesting it to do its business and construc...
void register_factory(TypeHandle handle, CreateFunc *func, void *user_data=nullptr)
Registers a new kind of thing the Factory will be able to create.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the variou...
static WritableFactory * get_factory()
Returns the global WritableFactory for generating TypedWritable objects.
A class to retrieve the individual data elements previously stored in a Datagram.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
Encapsulates the data from a GeomPrimitive, pre-fetched for one stage of the pipeline.
get_geom_rendering
Returns the set of GeomRendering bits that represent the rendering properties required to properly re...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.