Navigation
API > API/Plugins > API/Plugins/NiagaraVertexFactories
Inheritance Hierarchy
- FRenderResource
- FVertexFactory
- FNiagaraVertexFactoryBase
- FNiagaraRibbonVertexFactory
References
| Module | NiagaraVertexFactories |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraVertexFactories/Public/NiagaraRibbonVertexFactory.h |
| Include | #include "NiagaraRibbonVertexFactory.h" |
Syntax
class FNiagaraRibbonVertexFactory : public FNiagaraVertexFactoryBase
Remarks
Beam/Trail particle vertex factory.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FUniformBufferRHIRef | LooseParameterUniformBuffer |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FNiagaraRibbonVertexFactory
(
ENiagaraVertexFactoryType InType, |
Default constructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetPSOPrecacheVertexFetchElements
(
EVertexInputStreamType VertexInputStreamType, |
Get vertex elements used when during PSO precaching materials using this vertex factory type | |
| FNiagaraRibbonUniformBufferRef | Retrieve the uniform buffer for this vertex factory. | ||
| void | ModifyCompilationEnvironment
(
const FVertexFactoryShaderPermutationParameters& Parameters, |
Can be overridden by FVertexFactory subclasses to modify their compile environment just before compilation occurs. | |
| void | SetDynamicParameterBuffer
(
const FVertexBuffer* InDynamicParameterBuffer, |
Set the source vertex buffer that contains particle dynamic parameter data. | |
| void | SetRibbonUniformBuffer
(
FNiagaraRibbonUniformBufferRef InSpriteUniformBuffer |
Set the uniform buffer for this vertex factory. | |
| void | SetVertexBuffer
(
const FVertexBuffer* InBuffer, |
Set the source vertex buffer. | |
| bool | ShouldCompilePermutation
(
const FVertexFactoryShaderPermutationParameters& Parameters |
Should we cache the material's shadertype on this platform with this vertex factory? |
Overridden from FRenderResource
| Type | Name | Description | |
|---|---|---|---|
| void | InitRHI
(
FRHICommandListBase& RHICmdList |
Initialize the Render Hardware Interface for this vertex factory |