Navigation
API > API/Runtime > API/Runtime/Engine
A vertex factory which simply transforms explicit vertex attributes from local to world space.
| Name | FLocalVertexFactory |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/LocalVertexFactory.h |
| Include Path | #include "LocalVertexFactory.h" |
Syntax
class FLocalVertexFactory : public FVertexFactory
Inheritance Hierarchy
- FRenderResource → FVertexFactory → FLocalVertexFactory
Derived Classes
FLocalVertexFactory derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLocalVertexFactory
(
ERHIFeatureLevel::Type InFeatureLevel, |
LocalVertexFactory.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FLocalVertexFactory() |
LocalVertexFactory.h |
Structs
| Name | Remarks |
|---|---|
| FDataType | |
| FDebugName |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| StaticType | ENGINE_APIFVertexFactoryType | LocalVertexFactory.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Copy
(
const FLocalVertexFactory& Other |
Copy the data from another vertex factory | LocalVertexFactory.h | |
FRHIShaderResourceView * GetColorComponentsSRV() |
LocalVertexFactory.h | ||
const uint32 GetColorIndexMask() |
LocalVertexFactory.h | ||
void GetColorOverrideStream
(
const FVertexBuffer* ColorVertexBuffer, |
LocalVertexFactory.h | ||
const int GetLightMapCoordinateIndex() |
LocalVertexFactory.h | ||
const int GetNumTexcoords() |
LocalVertexFactory.h | ||
FRHIShaderResourceView * GetPositionsSRV() |
LocalVertexFactory.h | ||
FRHIShaderResourceView * GetPreSkinPositionSRV() |
LocalVertexFactory.h | ||
const UStaticMesh * GetStaticMesh() |
LocalVertexFactory.h | ||
FRHIShaderResourceView * GetTangentsSRV() |
LocalVertexFactory.h | ||
FRHIShaderResourceView * GetTextureCoordinatesSRV() |
LocalVertexFactory.h | ||
FRHIUniformBuffer * GetUniformBuffer() |
LocalVertexFactory.h | ||
void SetColorOverrideStream
(
FRHICommandList& RHICmdList, |
LocalVertexFactory.h | ||
| LocalVertexFactory.h | |||
void SetData
(
FRHICommandListBase& RHICmdList, |
An implementation of the interface used by TSynchronizedResource to update the resource with new data from the game thread. | LocalVertexFactory.h |
Overridden from FVertexFactory
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FShaderResourceViewRHIRef GetTriangleSortingPositionSRV() |
LocalVertexFactory.h | ||
virtual ENGINE_APIFVertexFactoryType * GetType() |
LocalVertexFactory.h | ||
virtual bool IsCoarseProxyMesh() |
LocalVertexFactory.h |
Overridden from FRenderResource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InitRHI
(
FRHICommandListBase& RHICmdList |
LocalVertexFactory.h | ||
virtual void ReleaseRHI() |
LocalVertexFactory.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FDataType & GetData() |
LocalVertexFactory.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void GetPSOPrecacheVertexFetchElements
(
EVertexInputStreamType VertexInputStreamType, |
Return the vertex elements used when manual vertex fetch is used | LocalVertexFactory.h | |
static void GetVertexElements
(
ERHIFeatureLevel::Type FeatureLevel, |
LocalVertexFactory.h | ||
static void GetVertexElements
(
ERHIFeatureLevel::Type FeatureLevel, |
LocalVertexFactory.h | ||
static void ModifyCompilationEnvironment
(
const FVertexFactoryShaderPermutationParameters& Parameters, |
LocalVertexFactory.h | ||
static bool ShouldCompilePermutation
(
const FVertexFactoryShaderPermutationParameters& Parameters |
Should we cache the material's shadertype on this platform with this vertex factory? | LocalVertexFactory.h | |
static void ValidateCompiledResult
(
const FVertexFactoryType* Type, |
LocalVertexFactory.h |