![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ShaderParameterMacros.h>
Inheritance diagram for TUniformBufferRef< TBufferStruct >:Static Public Member Functions | |
| static TUniformBufferRef< TBufferStruct > | CreateUniformBufferImmediate (const TBufferStruct &Value, EUniformBufferUsage Usage, EUniformBufferValidation Validation=EUniformBufferValidation::ValidateResources) |
| static TUniformBufferRef< TBufferStruct > | CreateEmptyUniformBufferImmediate (EUniformBufferUsage Usage) |
Friends | |
| template<typename TBufferStruct2 > | |
| class | TUniformBuffer |
| class | TRDGUniformBuffer< TBufferStruct > |
A reference to a uniform buffer RHI resource with a specific structure.
|
default |
Initializes the reference to null.
|
inlineexplicit |
Construct an instance from an existing RHI uniform buffer pointer. Validates at runtime that the type of the uniform buffer matches the template struct type.
|
inlinestatic |
Creates a uniform buffer with the given value, and returns a structured reference to it.
|
inlinestatic |
Creates a uniform buffer with the given value, and returns a structured reference to it.
|
inline |
|
inline |
|
friend |
|
friend |