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

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

(
    const FVertexFactoryShaderPermutati...
)

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

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