Navigation
Unreal Engine C++ API Reference > Runtime > RenderCore
Inheritance Hierarchy
- FRenderResource
- FVertexFactory
- FGeometryCacheVertexVertexFactory
- FGeometryCollectionVertexFactory
- FGPUBaseSkinVertexFactory
- TGPUSkinVertexFactory
- TGPUSkinAPEXClothVertexFactory
- FHairCardsVertexFactory
- FHairStrandsVertexFactory
- FLocalVertexFactory
- FCanvasTileRendererItem::FTileVertexFactory
- FCanvasTriangleRendererItem::FTriangleVertexFactory
- FGPUSkinPassthroughVertexFactory
- FInstancedStaticMeshVertexFactory
- FSplineMeshVertexFactory
- FNaniteVertexFactory
- FNiagaraVertexFactoryBase
- FNiagaraMeshVertexFactory
- FNiagaraRibbonVertexFactory
- FNiagaraSpriteVertexFactory
- FParticleVertexFactoryBase
- FMeshParticleVertexFactory
- FParticleBeamTrailVertexFactory
- FParticleSpriteVertexFactory
- TWaterVertexFactory
References
Module | RenderCore |
Header | /Engine/Source/Runtime/RenderCore/Public/VertexFactory.h |
Include | #include "VertexFactory.h" |
Syntax
class FVertexFactory : public FRenderResource
Remarks
Encapsulates a vertex data source which can be linked into a vertex shader.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bNeedsDeclaration | VF can explicitly set this to false to avoid errors without decls; this is for VFs that fetch from buffers directly (e.g. Niagara) |
![]() |
FVertexStreamList | Streams | The vertex streams used to render the factory. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FVertexFactory
(
ERHIFeatureLevel::Type InFeatureLevel |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FVertexElement | AccessStreamComponent
(
const FVertexStreamComponent& Component, |
Creates a vertex element for a vertex stream components. |
![]() |
FVertexElement | AccessStreamComponent
(
const FVertexStreamComponent& Component, |
Creates a vertex element for a vertex stream component. |
![]() |
FVertexElement | AccessStreamComponent
(
const FVertexStreamComponent& Component, |
Creates a vertex element for a vertex stream components. |
![]() |
bool | AddPrimitiveIdStreamElement
(
EVertexInputStreamType InputStreamType, |
|
![]() |
FVertexDeclarationRHIRef & | Accessors. | |
![]() ![]() |
const FVertexDeclarationRHIRef & | GetDeclaration
(
EVertexInputStreamType InputStreamType |
|
![]() ![]() |
int32 | GetPrimitiveIdStreamIndex
(
const FStaticFeatureLevel InFeatureLevel, |
|
![]() ![]() |
void | GetPSOPrecacheVertexFetchElements
(
EVertexInputStreamType VertexInputStreamType, |
Can be overridden by FVertexFactory subclasses which have EVertexFactoryFlags::SupportsPSOPrecaching set - this function will only be called when that flag is set |
![]() ![]() |
void | GetStreams
(
ERHIFeatureLevel::Type InFeatureLevel, |
|
![]() ![]() ![]() |
FVertexFactoryType * | GetType () |
|
![]() |
void | InitDeclaration
(
const FVertexDeclarationElementList& Elements, |
Initializes the vertex declaration. |
![]() ![]() ![]() |
bool | ||
![]() ![]() |
void | ModifyCompilationEnvironment
(
const FVertexFactoryShaderPermutationParameters& Parameters, |
Can be overridden by FVertexFactory subclasses to modify their compile environment just before compilation occurs. |
![]() ![]() |
bool | ||
![]() ![]() |
void | OffsetInstanceStreams
(
uint32 InstanceOffset, |
|
![]() ![]() ![]() |
bool | ||
![]() |
void | SetDeclaration
(
FVertexDeclarationRHIRef& NewDeclaration |
|
![]() |
void | SetPrimitiveIdStreamIndex
(
const FStaticFeatureLevel InFeatureLevel, |
|
![]() ![]() |
bool | SupportsGPUScene
(
const FStaticFeatureLevel InFeatureLevel |
|
![]() ![]() |
bool | SupportsManualVertexFetch
(
const FStaticFeatureLevel InFeatureLevel |
|
![]() ![]() |
bool | Indicates whether the vertex factory supports a null pixel shader. | |
![]() ![]() ![]() |
bool | Indicates whether the vertex factory supports a position-and-normal-only stream. | |
![]() ![]() ![]() |
bool | Indicates whether the vertex factory supports a position-only stream. | |
![]() ![]() |
void | ValidateCompiledResult
(
const FVertexFactoryType* Type, |
Can be overridden by FVertexFactory subclasses to fail a compile based on compilation output. |
Overridden from FRenderResource
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ReleaseRHI () |
Releases the RHI resources used by this resource. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FVertexStream | Information needed to set a vertex stream. |
Typedefs
Name | Description |
---|---|
FVertexStreamList |