Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FRenderResource
- FVertexFactory
- FParticleVertexFactoryBase
- FParticleSpriteVertexFactory
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ParticleVertexFactory.h |
| Include | #include "ParticleVertexFactory.h" |
Syntax
class FParticleSpriteVertexFactory : public FParticleVertexFactoryBase
Remarks
Vertex factory for rendering particle sprites.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FParticleSpriteVertexFactory
(
ERHIFeatureLevel::Type InFeatureLevel |
|||
FParticleSpriteVertexFactory
(
EParticleVertexFactoryType InType, |
Default constructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| FRHIShaderResourceView * | |||
| int32 | |||
| FRHIVertexDeclaration * | GetPSOPrecacheVertexDeclaration
(
bool bUsesDynamicParameter |
||
| void | GetPSOPrecacheVertexFetchElements
(
EVertexInputStreamType VertexInputStreamType, |
Get vertex elements used when during PSO precaching materials using this vertex factory type | |
| 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 | SetCustomAlignment
(
bool bAlign |
||
| void | SetCutoutParameters
(
int32 InNumCutoutVerticesPerFrame, |
||
| void | SetDynamicParameterBuffer
(
const FVertexBuffer* InDynamicParameterBuffer, |
Set the source vertex buffer that contains particle dynamic parameter data. | |
| void | SetInstanceBuffer
(
const FVertexBuffer* InInstanceBuffer, |
Set the source vertex buffer that contains particle instance data. | |
| void | SetNumVertsInInstanceBuffer
(
int32 InNumVertsInInstanceBuffer |
||
| void | SetSpriteUniformBuffer
(
const FParticleSpriteUniformBufferRef& InSpriteUniformBuffer |
Set the uniform buffer for this vertex factory. | |
| void | SetTexCoordBuffer
(
const FVertexBuffer* InTexCoordBuffer |
||
| void | SetUsesDynamicParameter
(
bool bInUsesDynamicParameter, |
||
| 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 | |
|---|---|---|---|
| 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 |