FGeometryCollectionVertexFactory

A vertex factory for Geometry Collections

Windows
MacOS
Linux

Inheritance Hierarchy

FRenderResource

FVertexFactory

FLocalVertexFactory

FGeometryCollectionVertexFactory

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/GeometryCollectionRendering.h

Include

#include "GeometryCollectionRendering.h"

Syntax

struct FGeometryCollectionVertexFactory : public FLocalVertexFactory

Remarks

A vertex factory for Geometry Collections

Constructors

Name Description

Public function

FGeometryCollectionVertexFactory

(
    ERHIFeatureLevel::Type InFeatureLev...
)

Functions

Name Description

Public function Static

FVertexFacto...

 

ConstructShaderParameters

(
    EShaderFrequency ShaderFrequency
)

Public function

void

 

Copy

(
    const FGeometryCollectionVertexFact...
)

Copy the data from another vertex factory

Public function Const

FRHIShaderRe...

 

GetInstanceBoneMapSRV()

Public function Const

FRHIShaderRe...

 

GetInstancePrevTransformSRV()

Public function Const

FRHIShaderRe...

 

GetInstanceTransformSRV()

Public function Static

void

 

ModifyCompilationEnvironment

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

Modify compile environment to enable instancing

Public function

void

 

SetData

(
    const FDataType& InData
)

Set the data on the vertex factory

Public function

void

 

SetInstancePrevTransformSRV

(
    FRHIShaderResourceView* Instan...
)

Public function

void

 

SetInstanceTransformSRV

(
    FRHIShaderResourceView* Instan...
)

Public function Static

bool

 

ShouldCompilePermutation

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

Permutations are controlled by the material flag

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

Data includes what we need for transform and everything in local vertex factory too.

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