28 #ifndef BERSERK_RHIRENDERPASS_HPP 
   29 #define BERSERK_RHIRENDERPASS_HPP 
#define BRK_NS_END
Definition: Config.hpp:48
 
#define BRK_API
Definition: Config.hpp:32
 
std::int32_t int32
Definition: Typedefs.hpp:43
 
std::uint32_t uint32
Definition: Typedefs.hpp:44
 
RHI pass info to begin (initial targets clear values)
Definition: RHIRenderPass.hpp:100
 
float depthClear
Definition: RHIRenderPass.hpp:104
 
uint32 stencilClear
Definition: RHIRenderPass.hpp:105
 
std::vector< Vec4f > clearColors
Definition: RHIRenderPass.hpp:103
 
RHIViewport viewport
Definition: RHIRenderPass.hpp:102
 
Full render pass descriptor.
Definition: RHIRenderPass.hpp:78
 
StringName name
Definition: RHIRenderPass.hpp:87
 
Ref< Window > window
Definition: RHIRenderPass.hpp:93
 
std::vector< RHIColorAttachment > colorAttachments
Definition: RHIRenderPass.hpp:81
 
Ref< RHIFramebuffer > framebuffer
Definition: RHIRenderPass.hpp:90
 
RHIDepthStencilAttachment depthStencilAttachment
Definition: RHIRenderPass.hpp:84
 
Compiled render pass object.
Definition: RHIRenderPass.hpp:112
 
BRK_API ~RHIRenderPass() override=default
 
const RHIRenderPassDesc & GetDesc() const
Definition: RHIRenderPass.hpp:117
 
RHIRenderPassDesc mDesc
Definition: RHIRenderPass.hpp:121
 
Base class for RHI resource.
Definition: RHIResource.hpp:55
 
Cached shared utf-8 string id.
Definition: StringName.hpp:61
 
RHIRenderTargetOption
Definition: RHIDefs.hpp:302
 
Definition: GLDevice.cpp:46
 
Single render target color attachment descriptor.
Definition: RHIRenderPass.hpp:50
 
RHIRenderTargetOption option
Definition: RHIRenderPass.hpp:51
 
Depth-stencil render target attachment descriptor.
Definition: RHIRenderPass.hpp:58
 
RHIRenderTargetOption stencilOption
Definition: RHIRenderPass.hpp:60
 
RHIRenderTargetOption depthOption
Definition: RHIRenderPass.hpp:59
 
Area of the render target to draw.
Definition: RHIRenderPass.hpp:67
 
uint32 width
Definition: RHIRenderPass.hpp:70
 
int32 left
Definition: RHIRenderPass.hpp:68
 
int32 bottom
Definition: RHIRenderPass.hpp:69
 
uint32 height
Definition: RHIRenderPass.hpp:71