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

Detailed Description

Specification


C version:

// Provided by Wisdom 0.7.0.
typedef enum WisLoadOp {
WisLoadOpLoad = 0,
WisLoadOpClear = 1,
WisLoadOpDontCare = 2,

C++ version:

namespace wis{
// Provided by Wisdom 0.7.0.
enum class LoadOp {
Load = 0,
Clear = 1,
DontCare = 2,
};
}

Description


Attachment load operation for render pass.

Note
Translates to D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE for DirectX 12 implementation, and VkAttachmentLoadOp for Vulkan implementation.

Values:

  • WisLoadOpLoad = 0: Load the attachment contents.
  • WisLoadOpClear = 1: Clear the attachment contents.
  • WisLoadOpDontCare = 2: Do not care about the attachment contents.

See Also


See also
Structs: WisRenderPassRenderTargetDesc, WisRenderPassDepthStencilDesc