TGPUSkinAPEXClothVertexFactory

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

Windows
MacOS
Linux

Inheritance Hierarchy

Syntax

template<bool bExtraBoneInfluencesT>
class TGPUSkinAPEXClothVertexFactory :
    public FGPUBaseSkinAPEXClothVertexFactory,
    public TGPUSkinVertexFactory< bExtraBoneInfluencesT >

Remarks

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

Constructors

Name Description

Public function

TGPUSkinAPEXClothVertexFactory

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

Constructor presizing bone matrices array to used amount.

Functions

Name Description

Protected function

void

 

AddVertexElements

(
    FDataType& InData,
    FVertexDeclarationElementList& Out...
)

Add the decl elements for the streams

Public function Static

FVertexFacto...

 

ConstructShaderParameters

(
    EShaderFrequency ShaderFrequency
)

Public function Const

const FShade...

 

GetClothBuffer()

Public function

FShaderResou...

 

GetClothBuffer()

Public function Const

uint32

 

GetClothIndexOffset

(
    uint64 VertexIndex
)

Public function Static

void

 

ModifyCompilationEnvironment

(
    const FVertexFactoryType* Type,
    EShaderPlatform Platform,
    const class::FMaterial* Materi...,
    FShaderCompilerEnvironment& OutEnv...
)

Modify compile environment to enable the apex clothing path

Public function

void

 

SetData

(
    const FDataType& InData
)

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

Public function Static

bool

 

ShouldCompilePermutation

(
    EShaderPlatform Platform,
    const class::FMaterial* Materi...,
    const FShaderType* ShaderType
)

Overridden from FGPUBaseSkinAPEXClothVertexFactory

Name Description

Public function Virtual

FGPUBaseSkin...

 

GetVertexFactory()

Public function Virtual Const

const FGPUBa...

 

GetVertexFactory()

Overridden from FGPUBaseSkinVertexFactory

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.

Classes

Name

Description

Public struct

FDataType

Typedefs

Name

Description

Super

Constants

Name

Description

StaticType

References

Module

Engine

Header

Runtime/Engine/Public/GPUSkinVertexFactory.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback