Navigation
API > API/Runtime > API/Runtime/RenderCore
A system for dynamically allocating GPU memory for indices.
| Name | FGlobalDynamicIndexBuffer |
| Type | class |
| Header File | /Engine/Source/Runtime/RenderCore/Public/GlobalRenderResources.h |
| Include Path | #include "GlobalRenderResources.h" |
Syntax
class FGlobalDynamicIndexBuffer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| GlobalRenderResources.h | |||
FGlobalDynamicIndexBuffer
(
FRHICommandListBase& InRHICmdList |
GlobalRenderResources.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FGlobalDynamicIndexBuffer() |
GlobalRenderResources.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FAllocation | FGlobalDynamicIndexBufferAllocation | GlobalRenderResources.h | |
| FAllocationEx | FGlobalDynamicIndexBufferAllocationEx | GlobalRenderResources.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| IndexBuffers16 | TArray< FDynamicIndexBuffer * > | GlobalRenderResources.h | ||
| IndexBuffers32 | TArray< FDynamicIndexBuffer * > | GlobalRenderResources.h | ||
| RHICmdList | FRHICommandListBase * | GlobalRenderResources.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAllocationEx Allocate
(
uint32 NumIndices |
Helper function to allocate. | GlobalRenderResources.h | |
FAllocation Allocate
(
uint32 NumIndices, |
Allocates space in the global index buffer. | GlobalRenderResources.h | |
void Commit () |
Commits allocated memory to the GPU. | GlobalRenderResources.h | |
void Init
(
FRHICommandListBase& InRHICmdList |
GlobalRenderResources.h |