wisdom
Loading...
Searching...
No Matches
WisRenderPassDesc Struct Reference

Detailed Description

Specification


C version:

// Provided by Wisdom 0.7.0.
typedef struct WisRenderPassDesc {
WisRenderPassRenderTargetDesc render_targets[8];
uint32_t render_target_count;
uint32_t view_mask;

C++ version:

namespace wis{
// Provided by Wisdom 0.7.0.
struct RenderPassDesc {
wis::RenderPassFlags flags;
std::array<wis::RenderPassRenderTargetDesc, 8> render_targets;
std::uint32_t render_target_count;
std::uint32_t view_mask;
wis::RenderPassDepthStencilDesc depth_stencil;
};
}

Members


  • flags describes render pass flags.
  • render_targets describes an array of render target descriptions. Max size is 8.
  • render_target_count specifies number of render targets in the render pass.
  • view_mask specifies view mask for multiview rendering. Each bit represents a view that can be rendered to with the render pass. Default is 0, meaning no multiview support.
  • depth_stencil specifies depth stencil description; if depth stencil is not used, the target field must be set to 0.

Description


See Also


See also
Functions: wisCommandListBeginRenderPass