Navigation
API > API/Runtime > API/Runtime/Engine
Beam/Trail particle vertex factory.
| Name | FParticleBeamTrailVertexFactory |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/ParticleBeamTrailVertexFactory.h |
| Include Path | #include "ParticleBeamTrailVertexFactory.h" |
Syntax
class FParticleBeamTrailVertexFactory : public FParticleVertexFactoryBase
Inheritance Hierarchy
- FRenderResource → FVertexFactory → FParticleVertexFactoryBase → FParticleBeamTrailVertexFactory
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FParticleBeamTrailVertexFactory
(
ERHIFeatureLevel::Type InFeatureLevel |
ParticleBeamTrailVertexFactory.h | ||
FParticleBeamTrailVertexFactory
(
EParticleVertexFactoryType InType, |
Default constructor. | ParticleBeamTrailVertexFactory.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| StaticType | FVertexFactoryType | ParticleBeamTrailVertexFactory.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BeamTrailUniformBuffer | FParticleBeamTrailUniformBufferRef | Uniform buffer with beam/trail parameters. | ParticleBeamTrailVertexFactory.h | |
| bUsesDynamicParameter | bool | ParticleBeamTrailVertexFactory.h | ||
| FirstIndex | uint32 | ParticleBeamTrailVertexFactory.h | ||
| IndexBuffer | FIndexBuffer * | Used to hold the index buffer allocation information when we call GDME more than once per frame. | ParticleBeamTrailVertexFactory.h | |
| OutTriangleCount | int32 | ParticleBeamTrailVertexFactory.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FParticleBeamTrailUniformBufferRef GetBeamTrailUniformBuffer() |
Retrieve the uniform buffer for this vertex factory. | ParticleBeamTrailVertexFactory.h | |
uint32 & GetFirstIndex() |
ParticleBeamTrailVertexFactory.h | ||
FIndexBuffer *& GetIndexBuffer() |
ParticleBeamTrailVertexFactory.h | ||
int32 & GetOutTriangleCount() |
ParticleBeamTrailVertexFactory.h | ||
void SetBeamTrailUniformBuffer
(
FParticleBeamTrailUniformBufferRef InSpriteUniformBuffer |
Set the uniform buffer for this vertex factory. | ParticleBeamTrailVertexFactory.h | |
void SetDynamicParameterBuffer
(
const FVertexBuffer* InDynamicParameterBuffer, |
Set the source vertex buffer that contains particle dynamic parameter data. | ParticleBeamTrailVertexFactory.h | |
void SetUsesDynamicParameter
(
bool bInUsesDynamicParameter |
ParticleBeamTrailVertexFactory.h | ||
void SetVertexBuffer
(
const FVertexBuffer* InBuffer, |
Set the source vertex buffer. | ParticleBeamTrailVertexFactory.h |
Overridden from FVertexFactory
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVertexFactoryType * GetType() |
ParticleBeamTrailVertexFactory.h |
Overridden from FRenderResource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InitRHI
(
FRHICommandListBase& RHICmdList |
Initialize the Render Hardware Interface for this vertex factory | ParticleBeamTrailVertexFactory.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FRHIVertexDeclaration * GetPSOPrecacheVertexDeclaration
(
bool bUsesDynamicParameter |
ParticleBeamTrailVertexFactory.h | ||
static void GetPSOPrecacheVertexFetchElements
(
EVertexInputStreamType VertexInputStreamType, |
Get vertex elements used when during PSO precaching materials using this vertex factory type | ParticleBeamTrailVertexFactory.h | |
static void ModifyCompilationEnvironment
(
const FVertexFactoryShaderPermutationParameters& Parameters, |
Can be overridden by FVertexFactory subclasses to modify their compile environment just before compilation occurs. | ParticleBeamTrailVertexFactory.h | |
static bool ShouldCompilePermutation
(
const FVertexFactoryShaderPermutationParameters& Parameters |
Should we cache the material's shadertype on this platform with this vertex factory? | ParticleBeamTrailVertexFactory.h |