Panda3D
Functions
sliderTable.I File Reference

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

Go to the source code of this file.

Functions

 CPT (SliderTable) SliderTable
 Registers a SliderTable for use. 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-28

Definition in file sliderTable.I.

Function Documentation

◆ CPT()

CPT ( SliderTable  )
inline

Registers a SliderTable for use.

This is similar to GeomVertexFormat::register_format(). Once registered, a SliderTable may no longer be modified (although the individual VertexSlider objects may modify their reported sliders).

This must be called before a table may be used in a Geom. After this call, you should discard the original pointer you passed in (which may or may not now be invalid) and let its reference count decrement normally; you should use only the returned value from this point on.

Definition at line 35 of file sliderTable.I.