Navigation
API > API/Runtime > API/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. | |||
TUniformBufferRef
(
FRHIUniformBuffer* InRHIRef |
Construct an instance from an existing RHI uniform buffer pointer. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TUniformBufferRef< TBufferStruct > | 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
(
const TBufferStruct& Value |
||
| void | UpdateUniformBufferImmediate
(
FRHICommandListBase& RHICmdList, |