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

This describes the shader variable property flags. More...

#include <PipelineState.h>

Classes

struct  Bits
 

Public Types

enum  Enum : StorageType {
  None = 0U , NoDynamicBuffers = XII_BIT(0) , InputAttachment = XII_BIT(1) , ENUM_COUNT = 3U ,
  Default = None
}
 
using StorageType = xiiUInt8
 

Detailed Description

This describes the shader variable property flags.

Member Enumeration Documentation

◆ Enum

enum xiiGALShaderVariableFlags::Enum : StorageType
Enumerator
None 

Shader variable has no special properties.

NoDynamicBuffers 

This indicates that dynamic buffers will never be bound to the resource variable. This applies to uniform (constant) buffers, unordered access views, and shader resource views.

                             \remarks This flag directly translates to the xiiGALPipelineResourceFlag::NoDynamicBuffers in the internal pipeline resource signature. 
InputAttachment 

This indicates that the resource is an input attachment in general layout, which allows simultaneously reading from the resource through the input attachment and writing to it via color or depth-stencil attachment.

                   \note This flag is only valid in Vulkan. 

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