37 void Update(
float deltaTime)
override;
Represents a 3D perspective camera with world transform and projection settings.
Drawable3D(RenderResourceContext renderContext)
Constructs the Drawable3D with a render context.
void SetMaterialName(const std::string &materialName)
Sets the material to use (by name).
void SetMeshName(const std::string &meshName)
Sets the mesh to use (by name).
StaticMesh(RenderResourceContext renderContext)
Constructs a StaticMesh component associated with a given render context.
StaticMesh & operator=(const StaticMesh &rhs)=delete
void Initialize() override
Initializes render resource pointers (material, mesh, etc.). Must be called after setting material an...
void Update(float deltaTime) override
Updates logic (animation, movement, etc.) for this drawable.
StaticMesh(const StaticMesh &rhs)=delete
<
void Draw(const Camera &camera) override
Submits this mesh to the renderer for drawing.
Aggregates pointers to global rendering resource managers.