FGeometryCacheVertexVertexFactory

Vertex factory for geometry caches.

Windows
MacOS
Linux

Inheritance Hierarchy

FRenderResource

FVertexFactory

FGeometryCacheVertexVertexFactory

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/GeometryCacheVertexFactory.h

Include

#include "GeometryCacheVertexFactory.h"

Syntax

class FGeometryCacheVertexVertexFactory : public FVertexFactory

Remarks

Vertex factory for geometry caches. Allows specifying explicit motion blur data as previous frames or motion vectors.

Variables

Name Description

Protected variable

FDataType

 

Data

Public variable

friend

 

FGeometryCacheVertexFactoryShaderParameters

Protected variable

int32

 

MotionBlurDataStreamIndex

Protected variable

int32

 

PositionStreamIndex

Protected variable

FVertexBuffer

 

VBAlias

Vertex buffer required for creating the Vertex Declaration.

Constructors

Name Description

Public function

FGeometryCacheVertexVertexFactory

(
    ERHIFeatureLevel::Type InFeatureLev...
)

Functions

Name Description

Public function Static

FVertexFacto...

 

ConstructShaderParameters

(
    EShaderFrequency ShaderFrequency
)

Public function Const

void

 

CreateManualVertexFetchUniformBuffer

(
    const FVertexBuffer* PoistionB...,
    const FVertexBuffer* MotionBlu...,
    FGeometryCacheVertexFactoryUserData...
)

Public function Static

void

 

ModifyCompilationEnvironment

(
    const FVertexFactoryType* Type,
    EShaderPlatform Platform,
    const FMaterial* Material,
    FShaderCompilerEnvironment& OutEnv...
)

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

 

ShouldCache

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

Public function Static

bool

 

ShouldCompilePermutation

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

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.

Classes

Name

Description

Public struct

FDataType

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