Definition GPUCommandBuffer.hpp:77
Definition GPUBufferObject.hpp:169
Definition GPUBufferObject.hpp:126
A element (usually a sub-mesh) visible on the screen.
Definition RendererRendering.hpp:18
virtual const RendererMaterial & getMaterial() const noexcept=0
The material for the render element.
virtual const GPUIndexBuffer & getIndexBuffer() const noexcept=0
virtual const GPUVertexFormat & getVertexFormat() const noexcept=0
Returns the vertex format which the graphics pipeline must be compatible with.
virtual Sphere getBoundingSphere() const =0
Gets the renderable bounding sphere.
virtual ~RendererElement()=default
virtual AABox getBoundingBox() const =0
Gets the renderable bounding box.
virtual void draw(GPUCommandBuffer &commandBuffer) const =0
Submits a draw command with the given renderer element.
virtual const GPUVertexBuffer & getVertexBuffer() const noexcept=0
An abstract class that represents a renderer material.
Definition RendererMaterial.hpp:31
Definition Application.hpp:19
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25