33#ifndef DVD_NONE_WRAPPER_H_
34#define DVD_NONE_WRAPPER_H_
47 void idle(
bool fast)
noexcept override;
64 void onThreadCreated(
const std::thread::id& threadID,
bool isMainRenderThread )
noexcept override;
70 [[nodiscard]] GenericVertexData_ptr
newGVD(
U32 ringBufferLength, std::string_view name )
const override;
Rough around the edges Adapter pattern abstracting the actual rendering API and access to the GPU.
SDL_Surface * _background
ShaderBuffer_uptr newSB(const ShaderBufferDescriptor &descriptor) const override
void closeRenderingAPI() noexcept override
void postFlushCommandBuffer(Handle< GFX::CommandBuffer > commandBuffer) noexcept override
void flushWindow(DisplayWindow &window) override
void onRenderThreadLoopEnd() override
RenderTarget_uptr newRT(const RenderTargetDescriptor &descriptor) const override
void initDescriptorSets() override
bool frameStarted() override
void prepareFlushWindow(DisplayWindow &window) override
GenericVertexData_ptr newGVD(U32 ringBufferLength, std::string_view name) const override
bool bindShaderResources(const DescriptorSetEntries &descriptorSetEntries) override
bool drawToWindow(DisplayWindow &window) override
void idle(bool fast) noexcept override
ErrorCode initRenderingAPI(I32 argc, char **argv, Configuration &config) noexcept override
bool setViewportInternal(const Rect< I32 > &newViewport) noexcept override
bool frameEnded() override
void preFlushCommandBuffer(Handle< GFX::CommandBuffer > commandBuffer) override
void flushCommand(GFX::CommandBase *cmd) noexcept override
void onThreadCreated(const std::thread::id &threadID, bool isMainRenderThread) noexcept override
bool setScissorInternal(const Rect< I32 > &newScissor) noexcept override
void onRenderThreadLoopStart() override
Renderer Programming Interface.
Handle console commands that start with a forward slash.
std::array< DescriptorSetEntry, to_base(DescriptorSetUsage::COUNT)> DescriptorSetEntries