20#include "../object/object.h"
21#include "../variant/types.h"
The Primitive class represents a basic building block for rendering 3D objects.
Definition primitive.h:28
MaterialPtr material
This is a shared pointer to a Material object. It references the material properties that define the ...
Definition primitive.h:31
GeometryPtr geometry
This is a shared pointer to a Geometry object. It references the actual geometric data(vertex and ind...
Definition primitive.h:30
int priority
This is an integer value representing the priority of the primitive during rendering.
Definition primitive.h:32
std::shared_ptr< BoundingBox > BoundingBoxPtr
Definition types.h:36
BoundingBoxPtr getBoundingBox(const GeometryPtr &geometry, const std::string &attribName="positions")
std::shared_ptr< Geometry > GeometryPtr
Definition types.h:32
std::shared_ptr< Primitive > PrimitivePtr
Definition types.h:48
std::shared_ptr< Material > MaterialPtr
Definition types.h:44