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>

Inheritance diagram for Grindstone::GraphicsAPI::Framebuffer:
Grindstone::GraphicsAPI::DirectX12Framebuffer Grindstone::GraphicsAPI::OpenGL::Framebuffer Grindstone::GraphicsAPI::Vulkan::Framebuffer

Classes

struct  CreateInfo
 
struct  DefaultFramebufferCreateInfo
 

Public Member Functions

virtual uint32_t GetAttachment (uint32_t attachmentIndex)=0
 
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 RenderTargetGetRenderTarget (uint32_t index) const =0
 
virtual DepthStencilTargetGetDepthStencilTarget () 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: