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

Public Member Functions

Niagara
bool FillTexture2D (const UNiagaraComponent Component, UTextureRenderTarget2D dest, int AttributeIndex)
 Fills a texture render target 2d with the current data from the simulation #todo(dmp): this will eventually go away when we formalize how data makes it out of Niagara.
void GetRawTextureSize (const UNiagaraComponent Component, int &SizeX, int &SizeY)
void GetTextureSize (const UNiagaraComponent Component, int &SizeX, int &SizeY)
bool FillRawTexture2D (const UNiagaraComponent Component, UTextureRenderTarget2D Dest, int &TilesX, int &TilesY)
Functions
void SetbPreviewGrid (bool Value)
void SetbOverrideFormat (bool Value)

Static Public Member Functions

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

Public Attributes

Grid
ENiagaraGpuBufferFormat OverrideBufferFormat
 When enabled overrides the format used to store data inside the grid, otherwise uses the project default setting. Lower bit depth formats will save memory and performance at the cost of precision.
FName PreviewAttribute
 When enabled allows you to preview the grid in a debug display.
FNiagaraUserParameterBinding RenderTargetUserParameter
 Reference to a user parameter if we're reading one.
Public Attributes inherited from UNiagaraDataInterfaceGrid2D
int NumCellsX
 Number of cells in X.
int NumCellsY
 Number of cells in Y.
int NumCellsMaxAxis
 Number of cells on the longest axis.
int NumAttributes
 Number of Attributes.
bool SetGridFromMaxAxis
 Set grid resolution according to longest axis.
FVector2D WorldBBoxSize
 World size of the grid.
bool ClearBeforeNonIterationStage
 Option to clear the buffer prior to a stage where the iteration count does not match the grid resolution. Useful for stages where one wants to do sparse writes and accumulate values.

Member Function Documentation

◆ FillRawTexture2D()

bool FillRawTexture2D ( const UNiagaraComponent Component,
UTextureRenderTarget2D Dest,
int & TilesX,
int & TilesY )

◆ FillTexture2D()

bool FillTexture2D ( const UNiagaraComponent Component,
UTextureRenderTarget2D dest,
int AttributeIndex )

Fills a texture render target 2d with the current data from the simulation #todo(dmp): this will eventually go away when we formalize how data makes it out of Niagara.

◆ GetRawTextureSize()

void GetRawTextureSize ( const UNiagaraComponent Component,
int & SizeX,
int & SizeY )

◆ GetTextureSize()

void GetTextureSize ( const UNiagaraComponent Component,
int & SizeX,
int & SizeY )

◆ SetbOverrideFormat()

void SetbOverrideFormat ( bool Value)

◆ SetbPreviewGrid()

void SetbPreviewGrid ( bool Value)

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ OverrideBufferFormat

ENiagaraGpuBufferFormat OverrideBufferFormat

When enabled overrides the format used to store data inside the grid, otherwise uses the project default setting. Lower bit depth formats will save memory and performance at the cost of precision.

◆ PreviewAttribute

FName PreviewAttribute

When enabled allows you to preview the grid in a debug display.

◆ RenderTargetUserParameter

FNiagaraUserParameterBinding RenderTargetUserParameter

Reference to a user parameter if we're reading one.