FHairCardsVertexFactory

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

Windows
MacOS
Linux

Inheritance Hierarchy

FRenderResource

FVertexFactory

FHairCardsVertexFactory

References

Module

HairStrandsCore

Header

/Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/HairCardsVertexFactory.h

Include

#include "HairCardsVertexFactory.h"

Syntax

class FHairCardsVertexFactory : public FVertexFactory

Remarks

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

Variables

Name Description

Public variable

FDataType

 

Data

Protected variable

FHairCardsVerte...

 

DebugName

Constructors

Name Description

Public function

FHairCardsVertexFactory

(
    FHairGroupInstance* Instance,
    uint32 GroupIndex,
    uint32 LODIndex,
    uint32 BufferIndex,
    EHairGeometryType GeometryType,
    EShaderPlatform InShaderPlatform,
    ERHIFeatureLevel::Type InFeatureLev...,
    const char* InDebugName
)

Functions

Name Description

Public function

void

 

Copy

(
    const FHairCardsVertexFactory& Oth...
)

Copy the data from another vertex factory

Public function Const

const FDataT...

 

GetData()

Public function Static

void

 

ModifyCompilationEnvironment

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

 

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