Panda3D
Functions
geomVertexArrayFormat.I File Reference

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

Go to the source code of this file.

Functions

 CPT (GeomVertexArrayFormat) GeomVertexArrayFormat
 Adds the indicated format to the registry, if there is not an equivalent format already there; in either case, returns the pointer to the equivalent format now in the registry. More...
 
std::ostream & operator<< (std::ostream &out, const GeomVertexArrayFormat &obj)
 

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-06

Definition in file geomVertexArrayFormat.I.

Function Documentation

◆ CPT()

CPT ( GeomVertexArrayFormat  )
inline

Adds the indicated format to the registry, if there is not an equivalent format already there; in either case, returns the pointer to the equivalent format now in the registry.

This is similar to GeomVertexFormat::register_format(), except that you generally need not call it explicitly. Calling GeomVertexFormat::register_format() automatically registers all of the nested array formats.

Definition at line 34 of file geomVertexArrayFormat.I.