void RenderPassBase::BuildRenderRequestHeirarchy |
( |
| ) |
|
|
protected |
Sorts this pass's render requests so that building the pass's commands is easier.
This maps meshes and materials to the pipelines that they will be rendered with as well as shader instance variables with the meshes that they will be used to render.
uint64_t RenderPassBase::GetLayerFlags |
( |
| ) |
|
|
virtual |
Gets the layers that this RenderPassBase is a part of.
- Returns
- A uint64_t bitfield of the layers that this is a part of
Schedule a render request on this render pass.
Provide a material, mesh and any instance data you want and that object will be rendered in a command as part of this pass. The data will be sorted and built later.
- Parameters
-
material | A handle to the material you want to render with |
mesh | A handle to the mesh you want to render |
instanceVariables | Any instance level variables required for rendering |
void RenderPassBase::SetProj |
( |
Math::Matrix4 |
proj | ) |
|
Set the projection matrix to be used in this render pass.
- Parameters
-
proj | The Math::Matrix4 to be used for the projection matrix |
void RenderPassBase::SetView |
( |
Math::Matrix4 |
view | ) |
|
Set the view matrix to be used in this render pass.
- Parameters
-
view | The Math::Matrix4 to be used for the view matrix |
The documentation for this class was generated from the following files: