TGPUSkinAPEXClothVertexFactory

Vertex factory with vertex stream components for GPU-skinned and morph target streams

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/GPUSkinVertexFactory.h

Include

#include "GPUSkinVertexFactory.h"

Syntax

template<GPUSkinBoneInfluenceType BoneInfluenceType>
class TGPUSkinAPEXClothVertexFactory :
    public FGPUBaseSkinAPEXClothVertexFactory,
    public TGPUSkinVertexFactory< BoneInfluenceType >

Remarks

Vertex factory with vertex stream components for GPU-skinned and morph target streams

Variables

Name Description

Protected variable

FGPUSkinAPEXClo...

 

ClothDataPtr

Alias pointer to TUniquePtr Data of FGPUBaseSkinVertexFactory.

Constructors

Name Description

Public function

TGPUSkinAPEXClothVertexFactory

(
    ERHIFeatureLevel::Type InFeatureLev...,
    uint32 InNumVertices
)

Constructor presizing bone matrices array to used amount.

Functions

Name Description

Public function

FShaderResou...

 

GetClothBuffer()

Public function Const

const FShade...

 

GetClothBuffer()

Public function Const

uint32

 

GetClothIndexOffset

(
    uint32 VertexIndex,
    uint32 LODBias
)

Public function Static

void

 

ModifyCompilationEnvironment

(
    const FVertexFactoryShaderPermutati...,
    FShaderCompilerEnvironment& OutEnv...
)

Modify compile environment to enable the apex clothing path

Public function Static

bool

 

ShouldCompilePermutation

(
    const FVertexFactoryShaderPermutati...
)

Overridden from FGPUBaseSkinAPEXClothVertexFactory

Name Description

Public function Virtual

FGPUBaseSkin...

 

GetVertexFactory()

Public function Virtual Const

const FGPUBa...

 

GetVertexFactory()

Overridden from FGPUBaseSkinVertexFactory

Name Description

Public function Virtual

void

 

SetData

(
    const FGPUSkinDataType* InData
)

An implementation of the interface used by TSynchronizedResource to update the resource with new data from the game thread.

Overridden from FVertexFactory

Name Description

Public function Virtual Const

FVertexFacto...

 

GetType()

Overridden from FRenderResource

Name Description

Public function Virtual

void

 

InitRHI()

Creates declarations for each of the vertex stream components and initializes the device resource

Public function Virtual

void

 

ReleaseDynamicRHI()

Releases the dynamic RHI resource and/or RHI render target resources used by this resource.

Typedefs

Name

Description

Super

Constants

Name

Description

StaticType

Bind cloth gpu skin vertex factory to its shader file and its shader parameters