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 Const

int32

 

GetPositionStreamIndex()

Public function Const

int32

 

GetTangentStreamIndex()

Protected function

void

 

InternalUpdateVertexDeclaration

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

Public function

void

 

InvalidateStreams()

Public function Static

void

 

ModifyCompilationEnvironment

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

Public function

void

 

SetData

(
    const FDataType& InData
)

Public function Static

bool

 

ShouldCompilePermutation

(
    const FVertexFactoryShaderPermutati...
)

Public function

void

 

UpdateVertexDeclaration

(
    FGPUBaseSkinVertexFactory* Sou...,
    FRWBuffer* PositionRWBuffer,
    FRHIShaderResourceView* PreSki...,
    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

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