Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::GraphicsAPI::Framebuffer Class Referenceabstract

#include <Framebuffer.hpp>

Classes

struct  DefaultFramebufferCreateInfo
struct  CreateInfo

Public Member Functions

virtual RenderPassGetRenderPass () const =0
virtual void Resize (uint32_t width, uint32_t height)=0
virtual void Clear (ClearMode mask)=0
virtual void BindTextures (int i)=0
virtual void Bind ()=0
virtual void BindWrite ()=0
virtual void BindRead ()=0
virtual void Unbind ()=0
virtual uint32_t GetWidth () const =0
virtual uint32_t GetHeight () const =0
virtual uint32_t GetRenderTargetCount () const =0
virtual ImageGetRenderTarget (uint32_t index) const =0
virtual ImageGetDepthStencilTarget () const =0

Detailed Description

A framebuffer is a series of one or more RenderTarget and optionally a DepthStencilTarget. Framebuffers bind these attachments together to be drawn to by a GraphicsPipeline.


The documentation for this class was generated from the following file: