Navigation
API > API/Plugins > API/Plugins/NiagaraVertexFactories
Vertex factory for rendering instanced mesh particles with out dynamic parameter support.
| Name | FNiagaraMeshVertexFactory |
| Type | class |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraVertexFactories/Public/NiagaraMeshVertexFactory.h |
| Include Path | #include "NiagaraMeshVertexFactory.h" |
Syntax
class FNiagaraMeshVertexFactory : public FNiagaraVertexFactoryBase
Inheritance Hierarchy
- FRenderResource → FVertexFactory → FNiagaraVertexFactoryBase → FNiagaraMeshVertexFactory
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNiagaraMeshVertexFactory
(
ENiagaraVertexFactoryType InType, |
Default constructor. | NiagaraMeshVertexFactory.h | |
| NiagaraMeshVertexFactory.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void EnablePrimitiveIDElement
(
bool bEnable |
NiagaraMeshVertexFactory.h | ||
FRHIShaderResourceView * GetColorComponentsSRV() |
NiagaraMeshVertexFactory.h | ||
uint32 GetColorIndexMask() |
NiagaraMeshVertexFactory.h | ||
int GetNumTexcoords() |
NiagaraMeshVertexFactory.h | ||
FRHIShaderResourceView * GetTangentsSRV() |
NiagaraMeshVertexFactory.h | ||
FRHIShaderResourceView * GetTextureCoordinatesSRV() |
NiagaraMeshVertexFactory.h | ||
FRHIUniformBuffer * GetUniformBuffer() |
Retrieve the uniform buffer for this vertex factory. | NiagaraMeshVertexFactory.h | |
virtual void InitRHI
(
FRHICommandListBase& RHICmdList |
NiagaraMeshVertexFactory.h | ||
bool IsPrimitiveIDElementEnabled() |
NiagaraMeshVertexFactory.h | ||
void SetData
(
FRHICommandListBase& RHICmdList, |
An implementation of the interface used by TSynchronizedResource to update the resource with new data from the game thread. | NiagaraMeshVertexFactory.h | |
void SetNiagaraMeshFeatureLevel
(
ERHIFeatureLevel::Type InFeatureLevel |
NiagaraMeshVertexFactory.h | ||
void SetUniformBuffer
(
const FNiagaraMeshUniformBufferRef& InMeshParticleUniformBuffer |
Set the uniform buffer for this vertex factory. | NiagaraMeshVertexFactory.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void GetPSOPrecacheVertexFetchElements
(
EVertexInputStreamType VertexInputStreamType, |
Get vertex elements used when during PSO precaching materials using this vertex factory type | NiagaraMeshVertexFactory.h | |
static void GetVertexElements
(
ERHIFeatureLevel::Type FeatureLevel, |
NiagaraMeshVertexFactory.h | ||
static void GetVertexElements
(
ERHIFeatureLevel::Type FeatureLevel, |
NiagaraMeshVertexFactory.h | ||
static bool IsGPUSceneEnabled
(
const FStaticShaderPlatform Platform, |
NiagaraMeshVertexFactory.h | ||
static void ModifyCompilationEnvironment
(
const FVertexFactoryShaderPermutationParameters& Parameters, |
Modify compile environment to enable instancing | NiagaraMeshVertexFactory.h | |
static bool ShouldCompilePermutation
(
const FVertexFactoryShaderPermutationParameters& Parameters |
Should we cache the material's shadertype on this platform with this vertex factory? | NiagaraMeshVertexFactory.h |