Navigation
Unreal Engine C++ API Reference > Runtime > RenderCore
References
Module | RenderCore |
Header | /Engine/Source/Runtime/RenderCore/Public/VertexFactory.h |
Include | #include "VertexFactory.h" |
Syntax
class FVertexFactoryType
Remarks
An object used to represent the type of a vertex factory.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FVertexFactoryType
(
const TCHAR* InName, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddUniformBufferIncludesToEnvironment
(
FShaderCompilerEnvironment& OutEnvironment, |
Adds include statements for uniform buffers that this shader type references, and builds a prefix for the shader file with the include statements. |
![]() ![]() |
bool | CheckManualVertexFetchSupport
(
ERHIFeatureLevel::Type InFeatureLevel |
|
![]() ![]() |
FVertexFactoryShaderParameters * | CreateShaderParameters
(
EShaderFrequency ShaderFrequency, |
|
![]() ![]() |
EVertexFactoryFlags | GetFlags () |
|
![]() ![]() |
FName | GetFName () |
|
![]() ![]() |
const FHashedName & | ||
![]() ![]() |
const TCHAR * | GetName () |
Accessors. |
![]() ![]() |
int32 | ||
![]() ![]() |
const TSet< const TCHAR *, TStringPointerSetKeyFuncs_DEPRECATED< const TCHAR * > > & | ||
![]() ![]() |
const TCHAR * | ||
![]() ![]() |
void | GetShaderParameterElementShaderBindings
(
EShaderFrequency ShaderFrequency, |
|
![]() ![]() |
const FTypeLayoutDesc * | GetShaderParameterLayout
(
EShaderFrequency ShaderFrequency |
|
![]() ![]() |
void | GetShaderPSOPrecacheVertexFetchElements
(
EVertexInputStreamType VertexInputStreamType, |
|
![]() ![]() |
const TArray< FVertexFactoryType * > & | ||
![]() ![]() |
const FSHAHash & | GetSourceHash
(
EShaderPlatform ShaderPlatform |
Calculates a Hash based on this vertex factory type's source code and includes |
![]() ![]() |
TLinkedList< FVertexFactoryType * > *& | GetTypeList () |
|
![]() ![]() |
FVertexFactoryType * | GetVFByName
(
const FHashedName& VFName |
Finds a FVertexFactoryType by name. |
![]() ![]() |
bool | HasFlags
(
EVertexFactoryFlags FlagsToCheck |
Returns true if this vertex factory supports ALL feature flags in FlagsToCheck |
![]() ![]() |
void | Initialize
(
const TMap< FString, TArray< const TCHAR* > >& ShaderFileToUniformBufferVariables |
Initialize FVertexFactoryType static members, this must be called before any VF types are created. |
![]() ![]() |
bool | ||
![]() ![]() |
void | ModifyCompilationEnvironment
(
const FVertexFactoryShaderPermutationParameters& Parameters, |
Calls the function ptr for the shader type on the given environment |
![]() ![]() |
bool | ShouldCache
(
const FVertexFactoryShaderPermutationParameters& Parameters |
Should we cache the material's shadertype on this platform with this vertex factory? |
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | SupportsManualVertexFetch
(
ERHIFeatureLevel::Type InFeatureLevel |
|
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
void | Uninitialize () |
Uninitializes FVertexFactoryType cached data. |
![]() |
void | UpdateReferencedUniformBufferNames
(
const TMap< FString, TArray< const TCHAR* >>& ShaderFileToUniformBufferVariables |
|
![]() ![]() |
void | ValidateCompiledResult
(
EShaderPlatform Platform, |
Typedefs
Constants
Name | Description |
---|---|
bInitializedSerializationHistory | Tracks whether serialization history for all shader types has been initialized. |
NumVertexFactories |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddReferencedUniformBufferIncludes
(
FShaderCompilerEnvironment& OutEnvironment, |
AddReferencedUniformBufferIncludes has moved to AddUniformBufferIncludesToEnvironment and no longer takes a prefix argument. |
![]() |
void | FlushShaderFileCache
(
const TMap< FString, TArray< const TCHAR* > >& ShaderFileToUniformBufferVariables |
FlushShaderFileCache is deprecated. UpdateReferencedUniformBufferNames should be used to flush any uniform buffer changes |