KiCad PCB EDA Suite
Loading...
Searching...
No Matches
RHI_RENDER_PASS_BEGIN_DESC Struct Reference

#include <rhi_command.h>

Public Attributes

RHI_RenderPassHandle renderPass
 
RHI_FramebufferHandle framebuffer
 
bool hasClearColorOverride = false
 Replaces the render pass clear color of every CLEAR color attachment, so the background can change per frame without a new render pass.
 
float clearColorOverride [4] = { 0.0f, 0.0f, 0.0f, 0.0f }
 

Detailed Description

Definition at line 46 of file rhi_command.h.

Member Data Documentation

◆ clearColorOverride

float RHI_RENDER_PASS_BEGIN_DESC::clearColorOverride[4] = { 0.0f, 0.0f, 0.0f, 0.0f }

Definition at line 56 of file rhi_command.h.

Referenced by RHI_VULKAN_DEVICE::BeginRenderPass(), and RHI_COMPOSITOR::Composite().

◆ framebuffer

RHI_FramebufferHandle RHI_RENDER_PASS_BEGIN_DESC::framebuffer

◆ hasClearColorOverride

bool RHI_RENDER_PASS_BEGIN_DESC::hasClearColorOverride = false

Replaces the render pass clear color of every CLEAR color attachment, so the background can change per frame without a new render pass.

Definition at line 55 of file rhi_command.h.

Referenced by RHI_VULKAN_DEVICE::BeginRenderPass(), and RHI_COMPOSITOR::Composite().

◆ renderPass

RHI_RenderPassHandle RHI_RENDER_PASS_BEGIN_DESC::renderPass

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