G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
UNiagaraDataInterfaceMemoryBuffer Class Reference

Data interface used to access a memory buffer. The user is responsible for how data is read / wrote. The DI will ensure no out of bounds access but not that the elements are of the correct type (i.e. float or int) Elements are considered to be 4 bytes in size. More...

Static Public Member Functions

Static Functions
static UClass StaticClass ()
Static Public Member Functions inherited from UNiagaraDataInterface
static UClass StaticClass ()

Public Attributes

Byte Buffer
ENiagaraGpuSyncMode GpuSyncMode
 How should we synhronize the data between CPU and GPU memory.
int DefaultNumElements
 Default space we will allocate for the memory buffer.

Detailed Description

Data interface used to access a memory buffer. The user is responsible for how data is read / wrote. The DI will ensure no out of bounds access but not that the elements are of the correct type (i.e. float or int) Elements are considered to be 4 bytes in size.

Member Function Documentation

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ DefaultNumElements

int DefaultNumElements

Default space we will allocate for the memory buffer.

◆ GpuSyncMode

ENiagaraGpuSyncMode GpuSyncMode

How should we synhronize the data between CPU and GPU memory.