Panda3D
Functions
geomLines.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "geomLines.h"
#include "pStatTimer.h"
#include "bamReader.h"
#include "bamWriter.h"
#include "graphicsStateGuardianBase.h"
#include "geomVertexReader.h"
#include "geomVertexWriter.h"
#include "geomLinesAdjacency.h"

Go to the source code of this file.

Functions

 PT (GeomPrimitive) GeomLines
 Returns the fundamental rendering type of this primitive: whether it is points, lines, or polygons. More...
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2005-03-22

Definition in file geomLines.cxx.

Function Documentation

◆ PT()

PT ( GeomPrimitive  )

Returns the fundamental rendering type of this primitive: whether it is points, lines, or polygons.

This is used to set up the appropriate antialiasing settings when AntialiasAttrib::M_auto is in effect; it also implies the type of primitive that will be produced when decompose() is called. Adds adjacency information to this primitive. May return null if this type of geometry does not support adjacency information. If the primitive type is a simple type in which all primitives have the same number of vertices, like lines, returns the number of vertices per primitive. If the primitive type is a more complex type in which different primitives might have different numbers of vertices, for instance a line strip, returns 0. Returns the minimum number of vertices that must be added before close_primitive() may legally be called. Calls the appropriate method on the GSG to draw the primitive. The virtual implementation of do_rotate(). Tells the BamReader how to create objects of type Geom.

Definition at line 55 of file geomLines.cxx.