Language:
Discover
By Skill Level
By Category

EUniformBufferUsage

Choose your OS:

Syntax

enum EUniformBufferUsage
{
    UniformBuffer_SingleDraw     = 0,
    UniformBuffer_SingleFrame,
    UniformBuffer_MultiFrame,
}

Values

Name

Description

UniformBuffer_SingleDraw

The uniform buffer is temporary, used for a single draw call then discarded

UniformBuffer_SingleFrame

The uniform buffer is used for multiple draw calls but only for the current frame

UniformBuffer_MultiFrame

The uniform buffer is used for multiple draw calls, possibly across multiple frames

References

Module

RHI

Header

Runtime/RHI/Public/RHIDefinitions.h