|
CeresEngine 0.2.0
A game development framework
|
The rendering element for the renderable sub-meshes. More...
#include <CeresEngine/Renderer/RendererRenderable.hpp>
Public Member Functions | |
| Element (RendererRenderable &renderable, const SubMesh &subMesh, UInt32 subMeshIndex) | |
| ~Element () final=default | |
| const GPUVertexFormat & | getVertexFormat () const noexcept final |
| Returns the vertex format which the graphics pipeline must be compatible with. | |
| void | draw (GPUCommandBuffer &commandBuffer) const final |
| Submits a draw command with the given renderer element. | |
| const GPUVertexBuffer & | getVertexBuffer () const noexcept final |
| const GPUIndexBuffer & | getIndexBuffer () const noexcept final |
| const RendererMaterial & | getMaterial () const noexcept final |
| The material for the render element. | |
| AABox | getBoundingBox () const final |
| Gets the renderable bounding box. | |
| Sphere | getBoundingSphere () const final |
| Gets the renderable bounding sphere. | |
Public Member Functions inherited from CeresEngine::RendererElement | |
| virtual | ~RendererElement ()=default |
Private Attributes | |
| RendererRenderable & | mRenderable |
| The owning renderable object. | |
| SubMesh | mSubMesh |
| The sub-mesh for the renderable element. | |
| UInt32 | mSubMeshIndex |
| The sub-mesh index for the renderable element. | |
The rendering element for the renderable sub-meshes.
|
explicit |
|
finaldefault |
|
finalvirtual |
Submits a draw command with the given renderer element.
Implements CeresEngine::RendererElement.
|
inlinefinalvirtual |
Gets the renderable bounding box.
Implements CeresEngine::RendererElement.
|
inlinefinalvirtual |
Gets the renderable bounding sphere.
Implements CeresEngine::RendererElement.
|
inlinefinalvirtualnoexcept |
Implements CeresEngine::RendererElement.
|
finalvirtualnoexcept |
The material for the render element.
Implements CeresEngine::RendererElement.
|
inlinefinalvirtualnoexcept |
Implements CeresEngine::RendererElement.
|
finalvirtualnoexcept |
Returns the vertex format which the graphics pipeline must be compatible with.
Implements CeresEngine::RendererElement.
|
private |
The owning renderable object.
|
private |
The sub-mesh for the renderable element.
|
private |
The sub-mesh index for the renderable element.