Navigation
API > API/Runtime > API/Runtime/Engine
A vertex factory for Geometry Collections
| Name | FGeometryCollectionVertexFactory |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/GeometryCollectionRendering.h |
| Include Path | #include "GeometryCollectionRendering.h" |
Syntax
struct FGeometryCollectionVertexFactory : public FVertexFactory
Inheritance Hierarchy
- FRenderResource → FVertexFactory → FGeometryCollectionVertexFactory
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGeometryCollectionVertexFactory
(
ERHIFeatureLevel::Type InFeatureLevel, |
GeometryCollectionRendering.h |
Structs
| Name | Remarks |
|---|---|
| FDataType | Data includes what we need for transform and everything in local vertex factory too. |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| StaticType | ENGINE_APIFVertexFactoryType | GeometryCollectionRendering.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EnableLooseParameter | bool | GeometryCollectionRendering.h | ||
| LooseParameterUniformBuffer | FUniformBufferRHIRef | GeometryCollectionRendering.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ColorStreamIndex | int32 | GeometryCollectionRendering.h | ||
| Data | FDataType | GeometryCollectionRendering.h | ||
| UniformBuffer | TUniformBufferRef< FGeometryCollectionVertexFactoryUniformShaderParameters > | GeometryCollectionRendering.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Copy
(
const FGeometryCollectionVertexFactory& Other |
Copy the data from another vertex factory | GeometryCollectionRendering.h | |
FRHIShaderResourceView * GetBoneMapSRV() |
GeometryCollectionRendering.h | ||
FRHIShaderResourceView * GetBonePrevTransformSRV() |
GeometryCollectionRendering.h | ||
FRHIShaderResourceView * GetBoneTransformSRV() |
GeometryCollectionRendering.h | ||
FRHIShaderResourceView * GetColorComponentsSRV() |
GeometryCollectionRendering.h | ||
const uint32 GetColorIndexMask() |
GeometryCollectionRendering.h | ||
const int GetLightMapCoordinateIndex() |
GeometryCollectionRendering.h | ||
FUniformBufferRHIRef GetLooseParameterBuffer() |
GeometryCollectionRendering.h | ||
const int GetNumTexcoords() |
GeometryCollectionRendering.h | ||
FRHIShaderResourceView * GetPositionsSRV() |
GeometryCollectionRendering.h | ||
FRHIShaderResourceView * GetTangentsSRV() |
GeometryCollectionRendering.h | ||
FRHIShaderResourceView * GetTextureCoordinatesSRV() |
GeometryCollectionRendering.h | ||
FRHIUniformBuffer * GetUniformBuffer() |
GeometryCollectionRendering.h | ||
void SetBoneMapSRV
(
FRHIShaderResourceView* BoneMapSRV |
GeometryCollectionRendering.h | ||
void SetBonePrevTransformSRV
(
FRHIShaderResourceView* BonePrevTransformSRV |
GeometryCollectionRendering.h | ||
void SetBoneTransformSRV
(
FRHIShaderResourceView* BoneTransformSRV |
GeometryCollectionRendering.h | ||
void SetData
(
FRHICommandListBase& RHICmdList, |
Set the data on the vertex factory | GeometryCollectionRendering.h |
Overridden from FVertexFactory
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ENGINE_APIFVertexFactoryType * GetType() |
GeometryCollectionRendering.h |
Overridden from FRenderResource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InitRHI
(
FRHICommandListBase& RHICmdList |
GeometryCollectionRendering.h | ||
virtual void ReleaseRHI() |
GeometryCollectionRendering.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void GetPSOPrecacheVertexFetchElements
(
EVertexInputStreamType VertexInputStreamType, |
GeometryCollectionRendering.h | ||
static void ModifyCompilationEnvironment
(
const FVertexFactoryShaderPermutationParameters& Parameters, |
Modify compile environment to enable instancing | GeometryCollectionRendering.h | |
static bool ShouldCompilePermutation
(
const FVertexFactoryShaderPermutationParameters& Parameters |
Permutations are controlled by the material flag | GeometryCollectionRendering.h | |
static bool UseShaderBoneTransform
(
EShaderPlatform ShaderPlatform |
GeometryCollectionRendering.h | ||
static void ValidateCompiledResult
(
const FVertexFactoryType* Type, |
GeometryCollectionRendering.h |