Navigation
API > API/Plugins > API/Plugins/Niagara
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNiagaraMergeable
- UNiagaraDataInterfaceBase
- UNiagaraDataInterface
- UNiagaraDataInterfaceRWBase
- UNiagaraDataInterfaceIntRenderTarget2D
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterfaceIntRenderTarget2D.h |
| Include | #include "NiagaraDataInterfaceIntRenderTarget2D.h" |
Syntax
UCLASS (EditInlineNew, Category="Render Target", CollapseCategories,
Meta=(DisplayName="Integer Render Target 2D", Experimental), Blueprintable, BlueprintType,
MinimalAPI)
class UNiagaraDataInterfaceIntRenderTarget2D : public UNiagaraDataInterfaceRWBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | bPreviewRenderTarget | ||
| FVector2D | PreviewDisplayRange | The range to normaliez the preview display to. | |
| FNiagaraUserParameterBinding | RenderTargetUserParameter | ||
| FIntPoint | Size |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNiagaraDataInterfaceIntRenderTarget2D
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
BEGIN_SHADER_PARAMETER_STRUCT
(
FShaderParameters |
|||
| bool | UpdateInstanceTexture
(
FNiagaraSystemInstance* SystemInstance, |
||
| void | VMGetSize
(
FVectorVMExternalFunctionContext& Context |
||
| void | VMSetSize
(
FVectorVMExternalFunctionContext& Context |
Overridden from UNiagaraDataInterface
| Type | Name | Description | |
|---|---|---|---|
| bool | AppendCompileHash
(
FNiagaraCompileHashVisitor* InVisitor |
Allows the generic class defaults version of this class to specify any dependencies/version/etc that might invalidate the compile. | |
| bool | CanExecuteOnTarget
(
ENiagaraSimTarget Target |
||
| bool | |||
| bool | CopyToInternal
(
UNiagaraDataInterface* Destination |
||
| void | DestroyPerInstanceData
(
void* PerInstanceData, |
Destroys the per instance data for this interface. | |
| bool | Equals
(
const UNiagaraDataInterface* Other |
Determines if this DataInterface is the same as another. | |
| void | GetExposedVariables
(
TArray< FNiagaraVariableBase >& OutVariables |
||
| bool | GetExposedVariableValue
(
const FNiagaraVariableBase& InVariable, |
||
| bool | GetFunctionHLSL
(
const FNiagaraDataInterfaceGPUParamInfo& ParamInfo, |
||
| void | GetFunctionsInternal
(
TArray< FNiagaraFunctionSignature >& OutFunctions |
||
| void | GetParameterDefinitionHLSL
(
const FNiagaraDataInterfaceGPUParamInfo& ParamInfo, |
||
| void | GetVMExternalFunction
(
const FVMExternalFunctionBindingInfo& BindingInfo, |
Returns the delegate for the passed function signature. | |
| bool | |||
| bool | InitPerInstanceData
(
void* PerInstanceData, |
Initializes the per instance data for this interface. | |
| int32 | Returns the size of the per instance data for this interface. | ||
| bool | PerInstanceTickPostSimulate
(
void* PerInstanceData, |
||
| void | ProvidePerInstanceDataForRenderThread
(
void* DataForRenderThread, |
Subclasses that wish to work with GPU systems/emitters must implement this. | |
| void | SetShaderParameters
(
const FNiagaraDataInterfaceSetShaderParametersContext& Context |
Set the shader parameters will only be called if the data interface provided shader parameters. | |
| bool | UpgradeFunctionCall
(
FNiagaraFunctionSignature& FunctionSignature |
Allows data interfaces the opportunity to rename / change the function signature and perform an upgrade. |
Overridden from UNiagaraDataInterfaceBase
| Type | Name | Description | |
|---|---|---|---|
| void | BuildShaderParameters
(
FNiagaraShaderParametersBuilder& ShaderParametersBuilder |
Override this method to provide parameters to the GPU (SRV / UAV / Constants / etc) The most common usage will be to provide a single structure which is nested with other parameters. |
Overridden from UObjectBaseUtility
| Type | Name | Description | |
|---|---|---|---|
| TextureSizeAndInvSize virtual SHADER_PARAMETER_RDG_TEXTURE_UAV(RWTexture2D< float4 >, RWTextureUAV) ... | Called during cluster construction if the object can be added to a cluster |
Constants
| Name | Description |
|---|---|
| ExposedRTVar |