FGlobalDynamicVertexBuffer

A system for dynamically allocating GPU memory for vertices.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderResource.h

Include

#include "RenderResource.h"

Syntax

class FGlobalDynamicVertexBuffer

Remarks

A system for dynamically allocating GPU memory for vertices.

Constructors

Name Description

Public function

FGlobalDynamicVertexBuffer()

Default constructor.

Destructors

Name Description

Public function

~FGlobalDynamicVertexBuffer()

Destructor.

Functions

Name Description

Public function

FAllocation

 

Allocate

(
    uint32 SizeInBytes
)

Allocates space in the global vertex buffer.

Public function

void

 

Commit()

Commits allocated memory to the GPU.

Public function Const

bool

 

IsRenderAlarmLoggingEnabled()

Returns true if log statements should be made because we exceeded GMaxVertexBytesAllocatedPerFrame

Classes

Name

Description

Public struct

FAllocation

Information regarding an allocation from this buffer.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss