Navigation
API > API/Plugins > API/Plugins/HairStrandsCore
A vertex factory which simply transforms explicit vertex attributes from local to world space.
| Name | FHairCardsVertexFactory |
| Type | class |
| Header File | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/HairCardsVertexFactory.h |
| Include Path | #include "HairCardsVertexFactory.h" |
Syntax
class FHairCardsVertexFactory : public FVertexFactory
Inheritance Hierarchy
- FRenderResource → FVertexFactory → FHairCardsVertexFactory
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FHairCardsVertexFactory
(
FHairGroupInstance* Instance, |
HairCardsVertexFactory.h |
Structs
| Name | Remarks |
|---|---|
| FDataType | |
| FDebugName |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| StaticType | FVertexFactoryType | HairCardsVertexFactory.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Data | FDataType | HairCardsVertexFactory.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Copy
(
const FHairCardsVertexFactory& Other |
Copy the data from another vertex factory | HairCardsVertexFactory.h | |
const FDataType & GetData() |
HairCardsVertexFactory.h | ||
EPrimitiveIdMode GetPrimitiveIdMode
(
ERHIFeatureLevel::Type In |
Return the primitive id supported by the VF. | HairCardsVertexFactory.h | |
void InitResources
(
FRHICommandListBase& RHICmdList |
HairCardsVertexFactory.h | ||
void SetData
(
const FDataType& InData |
An implementation of the interface used by TSynchronizedResource to update the resource with new data from the game thread. | HairCardsVertexFactory.h |
Overridden from FVertexFactory
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVertexFactoryType * GetType() |
HairCardsVertexFactory.h |
Overridden from FRenderResource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InitRHI
(
FRHICommandListBase& RHICmdList |
HairCardsVertexFactory.h | ||
virtual void ReleaseResource() |
HairCardsVertexFactory.h | ||
virtual void ReleaseRHI() |
HairCardsVertexFactory.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void GetPSOPrecacheVertexFetchElements
(
EVertexInputStreamType VertexInputStreamType, |
HairCardsVertexFactory.h | ||
static void ModifyCompilationEnvironment
(
const FVertexFactoryShaderPermutationParameters& Parameters, |
HairCardsVertexFactory.h | ||
static bool ShouldCompilePermutation
(
const FVertexFactoryShaderPermutationParameters& Parameters |
Should we cache the material's shadertype on this platform with this vertex factory? | HairCardsVertexFactory.h | |
static void ValidateCompiledResult
(
const FVertexFactoryType* Type, |
HairCardsVertexFactory.h |