FGPUSkinPassthroughVertexFactory

Vertex factory with vertex stream components for GPU-skinned streams, enabled for passthrough mode when vertices have been pre-skinned

Windows
MacOS
Linux

Inheritance Hierarchy

FRenderResource

FVertexFactory

FLocalVertexFactory

FGPUSkinPassthroughVertexFactory

References

Module

Engine

Header

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

Include

#include "GPUSkinVertexFactory.h"

Syntax

class FGPUSkinPassthroughVertexFactory : public FLocalVertexFactory

Remarks

Vertex factory with vertex stream components for GPU-skinned streams, enabled for passthrough mode when vertices have been pre-skinned

Variables

Name Description

Protected variable

int32

 

PositionStreamIndex

Protected variable

FVertexBuffer

 

PositionVBAlias

Vertex buffer required for creating the Vertex Declaration.

Protected variable

int32

 

TangentStreamIndex

Protected variable

FVertexBuffer

 

TangentVBAlias

Constructors

Name Description

Public function

FGPUSkinPassthroughVertexFactory

(
    ERHIFeatureLevel::Type InFeatureLev...
)

Functions

Name Description

Public function Static

FVertexFacto...

 

ConstructShaderParameters

(
    EShaderFrequency ShaderFrequency
)

Public function Const

int32

 

GetPositionStreamIndex()

Public function Const

int32

 

GetTangentStreamIndex()

Protected function

void

 

InternalUpdateVertexDeclaration

(
    FGPUBaseSkinVertexFactory* Sou...,
    FRWBuffer* PositionRWBuffer,
    FRWBuffer* TangentRWBuffer
)

Public function

void

 

InvalidateStreams()

Public function Static

void

 

ModifyCompilationEnvironment

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

Public function

void

 

SetData

(
    const FDataType& InData
)

Public function Static

bool

 

ShouldCompilePermutation

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

Public function

void

 

UpdateVertexDeclaration

(
    FGPUBaseSkinVertexFactory* Sou...,
    FRWBuffer* PositionRWBuffer,
    FRWBuffer* TangentRWBuffer
)

Overridden from FVertexFactory

Name Description

Public function Virtual Const

FVertexFacto...

 

GetType()

Public function Virtual Const

bool

 

SupportsPositionAndNormalOnlyStream()

Indicates whether the vertex factory supports a position-and-normal-only stream.

Public function Virtual Const

bool

 

SupportsPositionOnlyStream()

TODO should be supported.

Overridden from FRenderResource

Name Description

Public function Virtual

void

 

ReleaseRHI()

Releases the RHI resources used by this resource.

Typedefs

Name

Description

Super

Constants

Name

Description

StaticType

Select Skin
Light
Dark

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