Navigation
API > API/Runtime > API/Runtime/Engine
Vertex factory that performs Nanite base pass material shading with compute shaders instead of vertex and pixel shaders.
| Name | FNaniteVertexFactory |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/NaniteVertexFactory.h |
| Include Path | #include "NaniteVertexFactory.h" |
Syntax
class FNaniteVertexFactory : public FVertexFactory
Inheritance Hierarchy
- FRenderResource → FVertexFactory → FNaniteVertexFactory
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNaniteVertexFactory
(
ERHIFeatureLevel::Type FeatureLevel |
NaniteVertexFactory.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FNaniteVertexFactory() |
NaniteVertexFactory.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| StaticType | ENGINE_APIFVertexFactoryType | NaniteVertexFactory.h |
Functions
Public
Overridden from FVertexFactory
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ENGINE_APIFVertexFactoryType * GetType() |
NaniteVertexFactory.h |
Overridden from FRenderResource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InitRHI
(
FRHICommandListBase& RHICmdList |
NaniteVertexFactory.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ModifyCompilationEnvironment
(
const FVertexFactoryShaderPermutationParameters& Parameters, |
NaniteVertexFactory.h | ||
static bool ShouldCompilePermutation
(
const FVertexFactoryShaderPermutationParameters& Parameters |
NaniteVertexFactory.h |