TGPUSkinMorphVertexFactory

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

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 TGPUSkinMorphVertexFactory : public TGPUSkinVertexFactory< BoneInfluenceType >

Remarks

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

Constructors

Name Description

Public function

TGPUSkinMorphVertexFactory

(
    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

void

 

ModifyCompilationEnvironment

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

Modify compile environment to enable the morph blend codepath

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

(
    const FVertexFactoryShaderPermutati...
)

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

Classes

Name

Description

Public struct

FDataType

Typedefs

Name

Description

Super

Constants

Name

Description

StaticType

Bind morph target gpu skin vertex factory to its shader file and its shader parameters

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss