28 #ifndef BERSERK_RHIFRAMEBUFFER_HPP 
   29 #define BERSERK_RHIFRAMEBUFFER_HPP 
#define BRK_NS_END
Definition: Config.hpp:48
 
#define BRK_API
Definition: Config.hpp:32
 
std::uint32_t uint32
Definition: Typedefs.hpp:44
 
Collection of render targets for drawing.
Definition: RHIFramebuffer.hpp:73
 
uint32 GetHeight() const
Definition: RHIFramebuffer.hpp:81
 
const RHIFramebufferDesc & GetDesc() const
Definition: RHIFramebuffer.hpp:90
 
size_t GetColorAttachmentsCount() const
Definition: RHIFramebuffer.hpp:84
 
uint32 GetWidth() const
Definition: RHIFramebuffer.hpp:78
 
RHIFramebufferDesc mDesc
Definition: RHIFramebuffer.hpp:94
 
BRK_API ~RHIFramebuffer() override=default
 
const StringName & GetName() const
Definition: RHIFramebuffer.hpp:87
 
Base class for RHI resource.
Definition: RHIResource.hpp:55
 
Cached shared utf-8 string id.
Definition: StringName.hpp:61
 
Definition: GLDevice.cpp:46
 
Describes single render target attachment.
Definition: RHIFramebuffer.hpp:50
 
uint32 face
Definition: RHIFramebuffer.hpp:53
 
uint32 arraySlice
Definition: RHIFramebuffer.hpp:52
 
Ref< RHITexture > target
Definition: RHIFramebuffer.hpp:51
 
uint32 mipLevel
Definition: RHIFramebuffer.hpp:54
 
RHI framebuffer descriptor.
Definition: RHIFramebuffer.hpp:61
 
std::vector< RHIAttachmentDesc > colorTargets
Definition: RHIFramebuffer.hpp:66
 
StringName name
Definition: RHIFramebuffer.hpp:62
 
uint32 height
Definition: RHIFramebuffer.hpp:64
 
uint32 width
Definition: RHIFramebuffer.hpp:63
 
RHIAttachmentDesc depthStencilTarget
Definition: RHIFramebuffer.hpp:65