Navigation
API > API/Plugins > API/Plugins/NiagaraVertexFactories
Inheritance Hierarchy
- FRenderResource
- FVertexFactory
- FNiagaraVertexFactoryBase
- FNiagaraSpriteVertexFactory
References
| Module | NiagaraVertexFactories |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraVertexFactories/Public/NiagaraSpriteVertexFactory.h |
| Include | #include "NiagaraSpriteVertexFactory.h" |
Syntax
class FNiagaraSpriteVertexFactory : public FNiagaraVertexFactoryBase
Remarks
Vertex factory for rendering particle sprites.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FUniformBufferRHIRef | LooseParameterUniformBuffer |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FNiagaraSpriteVertexFactory
(
ENiagaraVertexFactoryType InType, |
Default constructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint32 | |||
| FRHIShaderResourceView * | |||
| uint32 | |||
| int32 | |||
| void | GetPSOPrecacheVertexFetchElements
(
EVertexInputStreamType VertexInputStreamType, |
Get vertex elements used when during PSO precaching materials using this vertex factory type | |
| int32 | |||
| FRHIShaderResourceView * | |||
| FRHIUniformBuffer * | Retrieve the uniform buffer for this vertex factory. | ||
| void | InitStreams () |
Initialize streams 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 | SetAlignmentMode
(
uint32 InMode |
||
| void | SetCutoutParameters
(
int32 InNumCutoutVerticesPerFrame, |
||
| void | SetFacingMode
(
uint32 InMode |
||
| void | SetSortedIndices
(
const FShaderResourceViewRHIRef& InSortedIndicesSRV, |
||
| void | SetSpriteUniformBuffer
(
const FNiagaraSpriteUniformBufferRef& InSpriteUniformBuffer |
Set the uniform buffer for this vertex factory. | |
| void | SetTexCoordBuffer
(
const FVertexBuffer* InTexCoordBuffer |
||
| void | SetVertexBufferOverride
(
const FVertexBuffer* InVertexBufferOverride |
||
| bool | ShouldCompilePermutation
(
const FVertexFactoryShaderPermutationParameters& Parameters |
Should we cache the material's shadertype on this platform with this vertex factory? |
Overridden from FVertexFactory
| Type | Name | Description | |
|---|---|---|---|
| NIAGARAVERTEXFACTORIES_API FVertexFactoryType * | GetType () |
||
| bool |
Overridden from FRenderResource
| Type | Name | Description | |
|---|---|---|---|
| void | InitRHI
(
FRHICommandListBase& RHICmdList |
Initialize the Render Hardware Interface for this vertex factory |
Constants
| Name | Description |
|---|---|
| StaticType |