Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Rendering
Inheritance Hierarchy
- FRenderResource
- FMorphTargetVertexInfoBuffers
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Rendering/MorphTargetVertexInfoBuffers.h |
| Include | #include "Rendering/MorphTargetVertexInfoBuffers.h" |
Syntax
class FMorphTargetVertexInfoBuffers : public FRenderResource
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< uint32 > | BatchesPerMorph | ||
| TArray< uint32 > | BatchStartOffsetPerMorph | ||
| bool | bEmptyMorphCPUDataOnInitRHI | ||
| bool | bIsMorphCPUDataValid | ||
| bool | bResourcesInitialized | ||
| bool | bRHIInitialized | ||
| TArray< FVector4f > | MaximumValuePerMorph | X,y,y separate for position and shared w for tangent | |
| TArray< FVector4f > | MinimumValuePerMorph | ||
| TResourceArray< uint32 > | MorphData | Transient data. Gets deleted as soon as the GPU resource has been initialized (unless excplicitly disabled by bEmptyMorphCPUDataOnInitRHI). | |
| FBufferRHIRef | MorphDataBuffer | ||
| FShaderResourceViewRHIRef | MorphDataSRV | ||
| uint32 | NumTotalBatches | ||
| float | PositionPrecision | ||
| float | TangentZPrecision |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const float | CalculatePositionPrecision
(
float TargetPositionErrorTolerance |
||
| uint32 | GetBatchStartOffset
(
uint32 Index |
||
| bool | |||
| const FVector4f & | GetMaximumMorphScale
(
uint32 Index |
||
| uint32 | |||
| const FVector4f & | GetMinimumMorphScale
(
uint32 Index |
||
| uint64 | |||
| uint32 | GetNumBatches
(
uint32 index |
||
| uint32 | GetNumMorphs () |
||
| const float | |||
| const float | |||
| void | InitMorphResources
(
EShaderPlatform ShaderPlatform, |
||
| bool | |||
| bool | |||
| bool | IsPlatformShaderSupported
(
EShaderPlatform ShaderPlatform |
||
| bool | |||
| void | ResetCPUData () |
||
| void | |||
| void | SetEmptyMorphCPUDataOnInitRHI
(
bool bEmpty |
||
| void | ValidateVertexBuffers
(
bool bMorphTargetsShouldBeValid |
Overridden from FRenderResource
| Type | Name | Description | |
|---|---|---|---|
| void | InitRHI
(
FRHICommandListBase& RHICmdList |
Initializes the RHI resources used by this resource. | |
| void | ReleaseRHI () |
Releases the RHI resources used by this resource. |