TGPUSkinVertexFactory

Vertex factory with vertex stream components for GPU skinned vertices

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 TGPUSkinVertexFactory : public FGPUBaseSkinVertexFactory

Remarks

Vertex factory with vertex stream components for GPU skinned vertices

Constructors

Name Description

Public function

TGPUSkinVertexFactory

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

Constructor presizing bone matrices array to used amount.

Functions

Overridden from FGPUBaseSkinVertexFactory

Name Description

Protected function Virtual

void

 

AddVertexElements

(
    FVertexDeclarationElementList& Out...
)

Add the decl elements for the streams Add the vertex declaration elements for the streams.

Public function Virtual Const

GPUSkinBoneI...

 

GetBoneInfluenceType()

Overridden from FVertexFactory

Name Description

Public function Virtual Const

FVertexFacto...

 

GetType()

Overridden from FRenderResource

Name Description

Public function Virtual

void

 

InitDynamicRHI()

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

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.

Constants

Name

Description

StaticType

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