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 Static

FVertexFacto...

 

ConstructShaderParameters

(
    EShaderFrequency ShaderFrequency
)

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

 

GetTangentsSRV()

Public function Const

FRHIShaderRe...

 

GetTextureCoordinatesSRV()

Public function Const

FRHIUniformB...

 

GetUniformBuffer()

Public function Static

void

 

ModifyCompilationEnvironment

(
    const FVertexFactoryType* Type,
    EShaderPlatform Platform,
    const FMaterial* Material,
    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

(
    EShaderPlatform Platform,
    const FMaterial* Material,
    const FShaderType* ShaderType
)

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

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