Navigation
API > API/Plugins > API/Plugins/Niagara
Inheritance Hierarchy
- FRenderResource
- FSkeletalMeshGpuSpawnStaticBuffers
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterfaceSkeletalMesh.h |
| Include | #include "NiagaraDataInterfaceSkeletalMesh.h" |
Syntax
class FSkeletalMeshGpuSpawnStaticBuffers : public FRenderResource
Remarks
This contains static data created once from the DI. This should be in a proxy create by GT and accessible on RT. Right now we cannot follow a real Proxy pattern since Niagara does not prevent unloading of UI while RT data is still in use. See https://jira.it.epicgames.net/browse/UE-69336
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bHasMeshColors | ||
| bool | bMeshValid | Cached SRV to gpu buffers of the mesh we spawn from | |
| bool | bSamplingRegionsAllAreaWeighted | ||
| FBufferRHIRef | BufferTriangleMatricesOffsetRHI | ||
| FShaderResourceViewRHIRef | BufferTriangleMatricesOffsetSRV | ||
| FBufferRHIRef | BufferTriangleUniformSamplerProbAliasRHI | ||
| FShaderResourceViewRHIRef | BufferTriangleUniformSamplerProbAliasSRV | ||
| bool | bUseGpuUniformlyDistributedSampling | ||
| int32 | ExcludedBoneIndex | ||
| TResourceArray< uint16 > | FilteredAndUnfilteredBonesArray | ||
| FBufferRHIRef | FilteredAndUnfilteredBonesBuffer | ||
| FShaderResourceViewRHIRef | FilteredAndUnfilteredBonesSRV | ||
| int32 | FilteredSocketBoneOffset | ||
| uint32 | InputWeightStride | ||
| int32 | LODIndex | Cached data for resource creation on RenderThread. | |
| const FSkeletalMeshLODRenderData * | LODRenderData | ||
| FShaderResourceViewRHIRef | MeshColorBufferSRV | ||
| FShaderResourceViewRHIRef | MeshIndexBufferSRV | ||
| FShaderResourceViewRHIRef | MeshTangentBufferSRV | ||
| FShaderResourceViewRHIRef | MeshTexCoordBufferSRV | ||
| FShaderResourceViewRHIRef | MeshVertexBufferSRV | ||
| int32 | NumFilteredBones | ||
| int32 | NumFilteredSockets | ||
| int32 | NumSamplingRegionTriangles | ||
| int32 | NumSamplingRegionVertices | ||
| uint32 | NumTexCoord | ||
| int32 | NumUnfilteredBones | ||
| uint32 | NumWeights | ||
| TResourceArray< uint32 > | SampleRegionsProbAlias | ||
| FBufferRHIRef | SampleRegionsProbAliasBuffer | ||
| FShaderResourceViewRHIRef | SampleRegionsProbAliasSRV | ||
| FBufferRHIRef | SampleRegionsTriangleIndicesBuffer | ||
| FShaderResourceViewRHIRef | SampleRegionsTriangleIndicesSRV | ||
| TResourceArray< int32 > | SampleRegionsTriangleIndicies | ||
| TResourceArray< int32 > | SampleRegionsVertices | ||
| FBufferRHIRef | SampleRegionsVerticesBuffer | ||
| FShaderResourceViewRHIRef | SampleRegionsVerticesSRV | ||
| TWeakObjectPtr< USceneComponent > | SceneComponent | ||
| const FSkeletalMeshSamplingLODBuiltData * | SkeletalMeshSamplingLODBuiltData | ||
| uint32 | TriangleCount | ||
| uint32 | VertexCount |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FRHIShaderResourceView * | |||
| FRHIShaderResourceView * | |||
| FRHIShaderResourceView * | |||
| FRHIShaderResourceView * | |||
| FRHIShaderResourceView * | |||
| FRHIShaderResourceView * | |||
| FRHIShaderResourceView * | |||
| int32 | |||
| FRHIShaderResourceView * | |||
| int32 | |||
| int32 | GetLODIndex () |
||
| int32 | |||
| int32 | |||
| int32 | |||
| int32 | |||
| uint32 | |||
| int32 | |||
| uint32 | |||
| FRHIShaderResourceView * | |||
| FRHIShaderResourceView * | |||
| FRHIShaderResourceView * | |||
| USceneComponent * | |||
| uint32 | |||
| uint32 | |||
| bool | |||
| FORCEINLINE_DEBUGGABLE void | Initialise
(
FNDISkeletalMesh_InstanceData* InstData, |
||
| bool | IsMeshValid () |
||
| bool | |||
| bool |
Overridden from FRenderResource
| Type | Name | Description | |
|---|---|---|---|
| FString | |||
| void | InitRHI
(
FRHICommandListBase& RHICmdList |
Initializes the RHI resources used by this resource. | |
| void | ReleaseRHI () |
Releases the RHI resources used by this resource. |