Navigation
Unreal Engine C++ API Reference > Runtime > RenderCore
Inheritance Hierarchy
- TRefCountPtr
- TUniformBufferRef
References
Module | RenderCore |
Header | /Engine/Source/Runtime/RenderCore/Public/ShaderParameterMacros.h |
Include | #include "ShaderParameterMacros.h" |
Syntax
template<typename TBufferStruct>
class TUniformBufferRef : public TRefCountPtr< FRHIUniformBuffer >
Remarks
A reference to a uniform buffer RHI resource with a specific structure.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Initializes the reference to null. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TUniformBufferRef< TBufferStruct > | CreateEmptyUniformBufferImmediate
(
EUniformBufferUsage Usage |
Creates a uniform buffer with the given value, and returns a structured reference to it. |
![]() ![]() |
TUniformBufferRef< TBufferStruct > | CreateUniformBufferImmediate
(
const TBufferStruct& Value, |
Creates a uniform buffer with the given value, and returns a structured reference to it. |
![]() |
void | UpdateUniformBufferImmediate
(
FRHICommandListBase& RHICmdList, |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | UpdateUniformBufferImmediate
(
const TBufferStruct& Value |
UpdateUniformBufferImmediate requires a command list. |