Stores cached geometry.
More...
#include <GeometryCache.h>
Inherits Dependency.
|
|
void | useSimpleDrawPipeline (gpu::Batch &batch, bool noBlend=false) |
| | Set a batch to the simple pipeline, returning the previous pipeline.
|
| |
| const ShapeData * | getShapeData (Shape shape) const |
| |
◆ getShapeData()
| const GeometryCache::ShapeData * GeometryCache::getShapeData |
( |
Shape |
shape | ) |
const |
returns ShapeData associated with the specified shape, otherwise nullptr in the event of an error.
◆ getShapeForEntityShape()
| GeometryCache::Shape GeometryCache::getShapeForEntityShape |
( |
int |
entityShapeEnum | ) |
|
|
static |
- Parameters
-
| entityShapeEnum | The EntityShape enumeration for the shape whose GeometryCache::Shape is desired. |
- Returns
- GeometryCache::NUM_SHAPES in the event of an error; otherwise, the GeometryCache::Shape enum which aligns with the specified entityShapeEnum
The documentation for this class was generated from the following files: