XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALAttachmentLoadOperation Struct Reference

This describes the render pass load operation. More...

#include <RenderPass.h>

Inheritance diagram for xiiGALAttachmentLoadOperation:
[legend]

Public Types

enum  Enum : StorageType {
  Load = 0U , Clear , Discard , ENUM_COUNT ,
  Default = Load
}
 
using StorageType = xiiUInt8
 

Detailed Description

This describes the render pass load operation.

Vulkan counterpart: VkAttachmentLoadOp. D3D12 counterpart: D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE.

Member Enumeration Documentation

◆ Enum

Enumerator
Load 

The previous contents of the texture within the render area will be preserved.

Clear 

The contents within the render area will be cleared to a uniform value, which is specified when a render pass instance is begun.

Discard 

The previous contents within the area need not be preserved; the contents of the attachment will be undefined inside the render area.


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