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