EUniformBufferUsage

Windows
MacOS
Linux

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/RHIDefinitions.h

Include

#include "RHIDefinitions.h"

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback