Struct RenderTargetProperties

Struct Documentation

struct RenderTargetProperties

Render target configuration.

Defines dimensions, attachments, clear values, multisampling, and transfer support.

Public Members

float scale = 1.f
size_t width = 0
size_t height = 0
glm::vec4 clear_color = {0.0f, 0.0f, 0.0f, 1.0f}
float depth_clear_value = 0.f
bool clear_color_on_load = true
bool clear_depth_on_load = true
AttachmentProperties attachments
uint32_t samples = 1

MSAA sample count.

bool transfer = false

Enable transfer operations.

std::unordered_map<size_t, Reference<Image>> existing_images
StringId name