HatchitGraphics
|
Public Member Functions | |
bool | VInitialize (const RendererParams ¶ms) override |
void | VDeInitialize () override |
void | VResizeBuffers (uint32_t width, uint32_t height) override |
void | VSetClearColor (const Color &color) override |
void | VClearBuffer (ClearArgs args) override |
void | VPresent () override |
void | VRender (float dt) override |
![]() | |
bool | Initialize (const RendererParams ¶ms) |
Initialize the renderer. More... | |
void | ResizeBuffers (uint32_t width, uint32_t height) |
Resizes the the screen. More... | |
void | Render () |
Render all render passes. | |
void | Present () |
Present a frame to the screen via a backbuffer. | |
void | RegisterRenderRequest (RenderPassHandle pass, MaterialHandle material, MeshHandle mesh, ShaderVariableChunk *instanceVariables) |
Register a render request with the renderer. More... | |
void | RegisterCamera (Camera camera) |
Register a camera with this renderer so it can be given things to render. More... | |
Additional Inherited Members | |
![]() | |
static IDevice *const | GetDevice () |
static SwapChain *const | GetSwapChain () |
static RendererType | GetType () |
![]() | |
void | initThreads () |
![]() | |
std::vector< std::vector< RenderPassHandle > > | m_renderPassLayers = std::vector<std::vector<RenderPassHandle>>(64) |
std::vector< std::vector< Graphics::Camera > > | m_renderPassCameras = std::vector<std::vector<Graphics::Camera>>(64) |
std::vector< RenderThread * > | m_threads |
std::mutex | m_mutex |
std::unique_lock< std::mutex > | m_lock |
std::condition_variable | m_cv |
bool | m_locked |
bool | m_processed |
Core::ThreadsafeQueue< RenderPassHandle > | m_threadQueue |
RendererParams | m_params |
TextureHandle | test |
![]() | |
static IDevice * | _Device = nullptr |
static GPUQueue * | _Queue = nullptr |
static RendererType | _Type = UNKNOWN |
static SwapChain * | _SwapChain = nullptr |
|
override |
Create Pipeline State/