Luna::RHI::RenderPassDesc
Describes one render pass.
struct Luna::RHI::RenderPassDesc
Member objects
-
ColorAttachment color_attachments[8]
The color attachments to set.
-
ResolveAttachment resolve_attachments[8]
The resolve attachments to set.
-
DepthStencilAttachment depth_stencil_attachment
The depth stencil attachment to set.
-
IQueryHeap* occlusion_query_heap
The occlustion query heap that the query data will be written to if not
nullptr
. -
IQueryHeap* timestamp_query_heap
The timestamp query heap that the query data will be written to if not
nullptr
. -
IQueryHeap* pipeline_statistics_query_heap
The pipeline statistics query heap that the query data will be written to if not
nullptr
. -
u32 timestamp_query_begin_pass_write_index
The index of the element in timestamp query heap that the render pass begin timestamp will be written to. If this is DONT_QUERY, the query data will not be written.
-
u32 timestamp_query_end_pass_write_index
The index of the element in timestamp query heap that the render pass end timestamp will be written to. If this is DONT_QUERY, the query data will not be written.
-
u32 pipeline_statistics_query_write_index
The index of the element in pipeline statistics query heap that the pipeline statistics will be written to. If this is DONT_QUERY, the query data will not be written.
-
The number of texture array elements that will be bound for all attachments.
-
The sample count for every pixel of the render pass. Specify any value greater than 1 enables MSAA.