Navigation
API > API/Runtime > API/Runtime/RHI
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIDefinitions.h |
| Include | #include "RHIDefinitions.h" |
Syntax
enum EUniformBufferBindingFlags
{
Shader = 1 << 0,
Static = 1 << 1,
StaticAndShader = Static | Shader,
}
Values
| Name | Description |
|---|---|
| Shader | If set, the uniform buffer can be bound as an RHI shader parameter on an RHI shader (i.e. RHISetShaderUniformBuffer). |
| Static | If set, the uniform buffer can be bound globally through a static slot (i.e. RHISetStaticUniformBuffers). |
| StaticAndShader | If set, the uniform buffer can be bound globally or per-shader, depending on the use case. |
Remarks
The list of flags declaring which binding models are allowed for a uniform buffer layout.