An object used to represent the type of a vertex factory.
更多...
#include <VertexFactory.h>
|
|
RENDERCORE_API void | AddReferencedUniformBufferIncludes (FShaderCompilerEnvironment &OutEnvironment, FString &OutSourceFilePrefix, EShaderPlatform Platform) |
| | Adds include statements for uniform buffers that this shader type references, and builds a prefix for the shader file with the include statements.
|
| |
| RENDERCORE_API | FVertexFactoryType (const TCHAR *InName, const TCHAR *InShaderFilename, bool bInUsedWithMaterials, bool bInSupportsStaticLighting, bool bInSupportsDynamicLighting, bool bInSupportsPrecisePrevWorldPos, bool bInSupportsPositionOnly, bool bInSupportsCachingMeshDrawCommands, bool bInSupportsPrimitiveIdStream, ConstructParametersType InConstructParameters, GetParameterTypeLayoutType InGetParameterTypeLayout, GetParameterTypeElementShaderBindingsType InGetParameterTypeElementShaderBindings, ShouldCacheType InShouldCache, ModifyCompilationEnvironmentType InModifyCompilationEnvironment, ValidateCompiledResultType InValidateCompiledResult, SupportsTessellationShadersType InSupportsTessellationShaders) |
| | Minimal initialization constructor. 更多...
|
| |
|
RENDERCORE_API const FSHAHash & | GetSourceHash (EShaderPlatform ShaderPlatform) const |
| | Calculates a Hash based on this vertex factory type's source code and includes
|
| |
| void | ModifyCompilationEnvironment (const FVertexFactoryShaderPermutationParameters &Parameters, FShaderCompilerEnvironment &OutEnvironment) |
| | Calls the function ptr for the shader type on the given environment 更多...
|
| |
|
bool | ShouldCache (const FVertexFactoryShaderPermutationParameters &Parameters) const |
| | Should we cache the material's shadertype on this platform with this vertex factory?
|
| |
|
bool | SupportsTessellationShaders () const |
| | Does this vertex factory support tessellation shaders?
|
| |
An object used to represent the type of a vertex factory.
◆ FVertexFactoryType()
| RENDERCORE_API FVertexFactoryType::FVertexFactoryType |
( |
const TCHAR * |
InName, |
|
|
const TCHAR * |
InShaderFilename, |
|
|
bool |
bInUsedWithMaterials, |
|
|
bool |
bInSupportsStaticLighting, |
|
|
bool |
bInSupportsDynamicLighting, |
|
|
bool |
bInSupportsPrecisePrevWorldPos, |
|
|
bool |
bInSupportsPositionOnly, |
|
|
bool |
bInSupportsCachingMeshDrawCommands, |
|
|
bool |
bInSupportsPrimitiveIdStream, |
|
|
ConstructParametersType |
InConstructParameters, |
|
|
GetParameterTypeLayoutType |
InGetParameterTypeLayout, |
|
|
GetParameterTypeElementShaderBindingsType |
InGetParameterTypeElementShaderBindings, |
|
|
ShouldCacheType |
InShouldCache, |
|
|
ModifyCompilationEnvironmentType |
InModifyCompilationEnvironment, |
|
|
ValidateCompiledResultType |
InValidateCompiledResult, |
|
|
SupportsTessellationShadersType |
InSupportsTessellationShaders |
|
) |
| |
Minimal initialization constructor.
- 参数
-
| bInUsedWithMaterials | - True if the vertex factory will be rendered in combination with a material. |
| bInSupportsStaticLighting | - True if the vertex factory will be rendered with static lighting. |
◆ GetTypeList()
- 返回
- The global shader factory list.
◆ ModifyCompilationEnvironment()
| void FVertexFactoryType::ModifyCompilationEnvironment |
( |
const FVertexFactoryShaderPermutationParameters & |
Parameters, |
|
|
FShaderCompilerEnvironment & |
OutEnvironment |
|
) |
| |
|
inline |
Calls the function ptr for the shader type on the given environment
- 参数
-
| Environment | - shader compile environment to modify |
该类的文档由以下文件生成: