| Support Forum Library Source SourceForge Page G3D Web Page |
A GPU mesh utility class that works with G3D::SuperSurface. More...
Inherits G3D::ReferenceCountedObject.
Public Types | |
| typedef ReferenceCountedPointer < GPUGeom > | Ref |
Public Member Functions | |
| bool | hasGeometry () const |
| True if this part has some geometry. | |
| void | ReferenceCountedObject_zeroWeakPointers () |
| Automatically called immediately before the object is deleted. | |
| ReferenceCountedPointer< class ReferenceCountedObject > | shared_from_this () |
Static Public Member Functions | |
| static GPUGeom::Ref | create (PrimitiveType p=PrimitiveType::TRIANGLES) |
Public Attributes | |
| AABox | boxBounds |
| Object space bounds. | |
| VertexRange | index |
| Indices into the VARs. | |
| ReferenceCountedPointer< Material > | material |
| VertexRange | normal |
| VertexRange | packedTangent |
| MeshAlg::Primitive | primitive |
| AtomicInt32 | ReferenceCountedObject_refCount |
| The long name is to keep this from accidentally conflicting with a subclass's variable name. | |
| _WeakPtrLinkedList * | ReferenceCountedObject_weakPointer |
| Linked list of all weak pointers that reference this (some may be on the stack!). | |
| Sphere | sphereBounds |
| Object space bounds. | |
| VertexRange | texCoord0 |
| VertexRange | texCoord1 |
| Reserved for future use. | |
| bool | twoSided |
| When true, this primitive should be rendered with two-sided lighting and texturing and not cull back faces. | |
| VertexRange | vertex |
Protected Member Functions | |
| GPUGeom (PrimitiveType p, bool t) | |
A GPU mesh utility class that works with G3D::SuperSurface.
A set of lines, points, quads, or triangles that have a single Material and can be rendered as a single OpenGL primitive using RenderDevice::sendIndices inside a RenderDevice::beginIndexedPrimitives() block.
|
inlineprotected |
Referenced by create().
|
inlinestatic |
|
inline |
True if this part has some geometry.
|
inherited |
Automatically called immediately before the object is deleted.
This is not called from the destructor because it needs to be invoked before the subclass destructor.
|
inherited |
Referenced by G3D::Material::resolve(), and G3D::GuiWindow::setVisible().
| AABox G3D::SuperSurface::GPUGeom::boxBounds |
Object space bounds.
| VertexRange G3D::SuperSurface::GPUGeom::index |
Indices into the VARs.
| ReferenceCountedPointer<Material> G3D::SuperSurface::GPUGeom::material |
| VertexRange G3D::SuperSurface::GPUGeom::normal |
| VertexRange G3D::SuperSurface::GPUGeom::packedTangent |
| MeshAlg::Primitive G3D::SuperSurface::GPUGeom::primitive |
|
inherited |
The long name is to keep this from accidentally conflicting with a subclass's variable name.
Do not use or explicitly manipulate this value–its type may change in the future and is not part of the supported API.
|
inherited |
Linked list of all weak pointers that reference this (some may be on the stack!).
Do not use or explicitly manipulate this value.
| Sphere G3D::SuperSurface::GPUGeom::sphereBounds |
Object space bounds.
| VertexRange G3D::SuperSurface::GPUGeom::texCoord0 |
| VertexRange G3D::SuperSurface::GPUGeom::texCoord1 |
Reserved for future use.
| bool G3D::SuperSurface::GPUGeom::twoSided |
When true, this primitive should be rendered with two-sided lighting and texturing and not cull back faces.
| VertexRange G3D::SuperSurface::GPUGeom::vertex |
1.8.1.2