|
static IDevice *const | GetDevice () |
|
static SwapChain *const | GetSwapChain () |
|
static RendererType | GetType () |
|
|
static IDevice * | _Device = nullptr |
|
static GPUQueue * | _Queue = nullptr |
|
static RendererType | _Type = UNKNOWN |
|
static SwapChain * | _SwapChain = nullptr |
|
bool Hatchit::Graphics::Renderer::Initialize |
( |
const RendererParams & |
params | ) |
|
Initialize the renderer.
- Parameters
-
params | The paramaters to intialize this renderer with |
void Hatchit::Graphics::Renderer::RegisterCamera |
( |
Camera |
camera | ) |
|
Register a camera with this renderer so it can be given things to render.
The camera will be sorted into a collection based on which layers it wants to render. It will then be matched and given to render passes on the same layers.
- Parameters
-
Register a render request with the renderer.
Tell a RenderPass that it should render a Mesh with a Material and a ShaderVariableChunk of instance data. Then make sure that the pass is stored in a collection based on its layer. This way the cameras will be able to be matched with the passes on the same layers.
- Parameters
-
pass | The RenderPass you want to register a request with |
material | A handle to the Material that you want to render with |
mesh | A handle to the Mesh you want to render |
instanceVaraibles | A pointer to a ShaderVariableChunk of instance data necessary for rendering |
void Hatchit::Graphics::Renderer::ResizeBuffers |
( |
uint32_t |
width, |
|
|
uint32_t |
height |
|
) |
| |
Resizes the the screen.
- Parameters
-
width | The new width of the screen |
height | The new height of the screen |
The documentation for this class was generated from the following files: