Navigation
API > API/Runtime > API/Runtime/RenderCore
A system for dynamically allocating GPU memory for vertices.
| Name | FGlobalDynamicVertexBuffer |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/GlobalRenderResources.h |
| Include Path | #include "GlobalRenderResources.h" |
Syntax
class FGlobalDynamicVertexBuffer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| GlobalRenderResources.h | |||
FGlobalDynamicVertexBuffer
(
FRHICommandListBase& InRHICmdList |
GlobalRenderResources.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FGlobalDynamicVertexBuffer() |
GlobalRenderResources.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FAllocation | FGlobalDynamicVertexBufferAllocation | GlobalRenderResources.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RHICmdList | FRHICommandListBase * | GlobalRenderResources.h | ||
| VertexBuffers | TArray< FDynamicVertexBuffer * > | GlobalRenderResources.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAllocation Allocate
(
uint32 SizeInBytes |
Allocates space in the global vertex buffer. | GlobalRenderResources.h | |
void Commit () |
Commits allocated memory to the GPU. | GlobalRenderResources.h | |
void GarbageCollect() |
GlobalRenderResources.h | ||
void Init
(
FRHICommandListBase& InRHICmdList |
GlobalRenderResources.h | ||
bool IsRenderAlarmLoggingEnabled() |
Returns true if log statements should be made because we exceeded GMaxVertexBytesAllocatedPerFrame | GlobalRenderResources.h |