Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterface.h |
Include |
#include "NiagaraDataInterface.h" |
UCLASS(Abstract, EditInlineNew)
class UNiagaraDataInterface : public UNiagaraDataInterfaceBase
Base class for all Niagara data interfaces.
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bRenderDataDirty |
|
|
uint32: 1 |
bUsedByCPUEmitter |
|
|
uint32: 1 |
bUsedByGPUEmitter |
|
|
TUniquePtr< FNi... |
Proxy |
Name | Description | |
---|---|---|
|
UNiagaraDataInterface ( |
Name | Description | |
---|---|---|
|
~UNiagaraDataInterface() |
Name | Description | ||
---|---|---|---|
|
bool |
AppendCompileHash ( |
Allows the generic class defaults version of this class to specify any dependencies/version/etc that might invalidate the compile. |
|
void |
AppendTemplateHLSL ( |
Formats and appends a template file onto the output HLSL |
|
void |
CacheStaticBuffers ( |
Allows data interfaces to cache any static data that may be shared between instances |
|
ETickingGrou... |
CalculateTickGroup ( |
|
|
bool |
CanExecuteOnTarget ( |
|
|
bool |
CanExposeVariables() |
|
|
bool |
CanRenderVariablesToCanvas() |
|
|
bool |
CopyTo ( |
Copies the contents of this DataInterface to another. |
|
bool |
CopyToInternal ( |
|
|
void |
DestroyPerInstanceData ( |
Destroys the per instance data for this interface. |
|
void |
DrawDebugHud ( |
Override this function to provide additional context to the debug HUD. |
|
bool |
Equals ( |
Determines if this DataInterface is the same as another. |
|
bool |
GenerateCompilerTagPrefix ( |
Used by the translator when dealing with signatures that turn into compiler tags to figure out the precise compiler tag. |
|
bool |
GenerateIterationSourceNamespaceReadAttributesHLSL ( |
Generate the necessary plumbing HLSL at the beginning of the stage where this is used as a sim stage iteration source. |
|
bool |
GenerateIterationSourceNamespaceWriteAttributesHLSL ( |
Generate the necessary plumbing HLSL at the end of the stage where this is used as a sim stage iteration source. |
|
bool |
GenerateSetupHLSL ( |
Generate the necessary HLSL to set up data when being added as a sim stage sim source. |
|
bool |
GenerateTeardownHLSL ( |
Generate the necessary HLSL to tear down data when being added as a sim stage sim source. |
|
void |
GetAssetTagsForContext |
Method to add asset tags that are specific to this data interface. |
|
void |
GetCanvasVariables ( |
|
|
void |
GetCommonHLSL ( |
Allows data interfaces to provide common functionality that will be shared across interfaces on that type. |
|
void |
GetEmitterDependencies ( |
Allows a DI to specify data dependencies between emitters, so the system can ensure that the emitter instances are executed in the correct order. |
|
GetErrors() |
Refreshes and returns the errors detected with the corresponding data, if any. |
|
|
void |
GetExposedVariables ( |
|
|
bool |
GetExposedVariableValue ( |
|
|
void |
GetFeedback ( |
|
|
void |
GetFeedback ( |
Query the data interface to give feedback to the end user. |
|
bool |
GetFunctionHLSL ( |
|
|
bool |
GetFunctionHLSL ( |
|
|
void |
GetFunctions ( |
Gets all the available functions for this data interface. |
|
FIntVector |
GetGpuDispatchNumThreads() |
|
|
ENiagaraGpuD... |
GetGpuDispatchType() |
|
|
bool |
GetGpuUseIndirectDispatch() |
|
|
void |
GetParameterDefinitionHLSL ( |
|
|
void |
GetParameterDefinitionHLSL ( |
|
|
FNiagaraData... |
GetProxy() |
|
|
T * |
GetProxyAs() |
|
|
const T *... |
GetProxyAs() |
|
|
void |
GetVMExternalFunction ( |
Returns the delegate for the passed function signature. |
|
bool |
GPUContextInit ( |
|
|
bool |
HasPostSimulateTick() |
|
|
bool |
HasPreSimulateTick() |
|
|
bool |
HasTickGroupPrereqs() |
|
|
bool |
InitPerInstanceData ( |
Initializes the per instance data for this interface. |
|
bool |
IsDataInterfaceType ( |
Determines if this type definition matches to a known data interface type. |
|
bool |
IsUsedByCPUEmitter() |
|
|
bool |
IsUsedByGPUEmitter() |
|
|
bool |
IsUsedWithCPUEmitter() |
Used to determine if we need to create CPU resources for the emitter. |
|
bool |
IsUsedWithGPUEmitter() |
Used to determine if we need to create GPU resources for the emitter. |
|
void |
MarkRenderDataDirty() |
|
|
void |
ModifyCompilationEnvironment ( |
Allows data interfaces to influence the compilation of GPU shaders and is only called on the CDO object not the instance. |
|
bool |
NeedsGPUContextInit() |
|
|
FSimpleMulti... |
OnErrorsRefreshed() |
|
|
int32 |
PerInstanceDataPassedToRenderThreadSize() |
The size of the data this class will provide to ProvidePerInstanceDataForRenderThread. |
|
int32 |
PerInstanceDataSize() |
Returns the size of the per instance data for this interface. |
|
bool |
PerInstanceTick ( |
Ticks the per instance data for this interface, if it has any. |
|
bool |
PerInstanceTickPostSimulate ( |
|
|
void |
PostCompile() |
Called after system compilation completes. Useful for caching any constant, compile dependent data. |
|
bool |
PostSimulateCanOverlapFrames() |
When set to true the simulation may not complete in the same frame it started, allowing maximum overlap with the GameThread. |
|
void |
ProvidePerInstanceDataForRenderThread ( |
Subclasses that wish to work with GPU systems/emitters must implement this. |
|
void |
PushToRenderThread() |
|
|
void |
PushToRenderThreadImpl() |
|
|
bool |
ReadsEmitterParticleData ( |
|
|
void |
RefreshErrors() |
|
|
bool |
RenderVariableToCanvas ( |
|
|
bool |
RequiresDepthBuffer() |
|
|
bool |
RequiresDistanceFieldData() |
|
|
bool |
RequiresEarlyViewData() |
|
|
bool |
RequiresRayTracingScene() |
|
|
void |
SetShaderParameters ( |
Set the shader parameters will only be called if the data interface provided shader parameters. |
|
void |
SetUsedByCPUEmitter ( |
|
|
void |
SetUsedByGPUEmitter ( |
|
|
bool |
ShouldCompile ( |
Allows data interfaces to prevent compilation of GPU shaders and is only called on the CDO object not the instance. |
|
bool |
SupportsIterationSourceNamespaceAttributesHLSL() |
Can this data interface be used as a StackContext parameter map replacement when being used as a sim stage iteration source? |
|
bool |
SupportsSetupAndTeardownHLSL() |
Does this data interface need setup and teardown for each stage when working a sim stage sim source? |
|
bool |
UpgradeFunctionCall ( |
Allows data interfaces the opportunity to rename / change the function signature and perform an upgrade. |
|
void |
ValidateFunction ( |
Validates a function being compiled and allows interface classes to post custom compile errors when their API changes. |
Name | Description | ||
---|---|---|---|
|
void |
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
void |
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |