FLocalVertexFactory

A vertex factory which simply transforms explicit vertex attributes from local to world space.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/LocalVertexFactory.h

Include

#include "LocalVertexFactory.h"

Syntax

class FLocalVertexFactory : public FVertexFactory

Remarks

A vertex factory which simply transforms explicit vertex attributes from local to world space.

Variables

Name Description

Protected variable

int32

 

ColorStreamIndex

Protected variable

FDataType

 

Data

Protected variable

FLocalVertexFac...

 

DebugName

Protected variable

TUniformBufferR...

 

UniformBuffer

Constructors

Name Description

Public function

FLocalVertexFactory

(
    ERHIFeatureLevel::Type InFeatureLev...,
    const char* InDebugName
)

Functions

Name Description

Public function

void

 

Copy

(
    const FLocalVertexFactory& Other
)

Copy the data from another vertex factory

Public function Const

FRHIShaderRe...

 

GetColorComponentsSRV()

Public function Const

const uint32

 

GetColorIndexMask()

Public function Const

void

 

GetColorOverrideStream

(
    const FVertexBuffer* ColorVert...,
    FVertexInputStreamArray& VertexStr...
)

Protected function Const

const FDataT...

 

GetData()

Public function Const

const int

 

GetLightMapCoordinateIndex()

Public function Const

const int

 

GetNumTexcoords()

Public function Const

FRHIShaderRe...

 

GetPositionsSRV()

Public function Const

FRHIShaderRe...

 

GetPreSkinPositionSRV()

Public function Const

FRHIShaderRe...

 

GetTangentsSRV()

Public function Const

FRHIShaderRe...

 

GetTextureCoordinatesSRV()

Public function Const

FRHIUniformB...

 

GetUniformBuffer()

Public function Static

void

 

ModifyCompilationEnvironment

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

Public function Const

void

 

SetColorOverrideStream

(
    FRHICommandList& RHICmdList,
    const FVertexBuffer* ColorVert...
)

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...
)

Should we cache the material's shadertype on this platform with this vertex factory?

Public function Static

bool

 

SupportsTessellationShaders()

Public function Static

void

 

ValidateCompiledResult

(
    const FVertexFactoryType* Type,
    EShaderPlatform Platform,
    const FShaderParameterMap& Paramet...,
    TArray< FString >& OutErrors
)

Overridden from FVertexFactory

Name Description

Public function Virtual Const

FVertexFacto...

 

GetType()

Overridden from FRenderResource

Name Description

Public function Virtual

void

 

InitRHI()

Initializes the RHI resources used by this resource.

Public function Virtual

void

 

ReleaseRHI()

Releases the RHI resources used by this resource.

Classes

Name

Description

Public struct

FDataType

Protected struct

FDebugName

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