Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/Shader.h |
Include |
#include "Shader.h" |
class FShader
A compiled shader and its parameter bindings.
Name | Description | ||
---|---|---|---|
|
Bindings |
||
|
OutputHash |
Hash of the compiled output from this shader and the resulting parameter map. |
|
|
ParameterMapInfo |
||
|
SourceHash |
Hash of this shader's source files generated at compile time, and stored to allow creating an FShaderId. |
|
|
UniformBufferParameters |
||
|
UniformBufferParameterStructs |
||
|
VFSourceHash |
Vertex factory source hash, stored so that an FShaderId can be constructed from this shader. |
Name | Description | |
---|---|---|
|
FShader() |
Used to construct a shader for deserialization. |
|
FShader ( |
Construct a shader from shader compiler output. |
Name | Description | |
---|---|---|
|
~FShader() |
Name | Description | ||
---|---|---|---|
|
DumpDebugInfo ( |
||
|
Finalize ( |
||
|
const FShade... |
FindAutomaticallyBoundUniformBufferStruct ( |
|
|
GetCodeSize() |
||
|
EShaderFrequ... |
GetFrequency() |
|
|
const FSHAHa... |
GetHash() |
Returns the hash of the shader file that this shader was compiled with. |
|
GetNumInstructions() |
||
|
GetNumTextureSamplers() |
||
|
const FSHAHa... |
GetOutputHash() |
|
|
GetResourceIndex() |
||
|
const FShade... |
GetRootParametersMetadata() |
Returns the meta data for the root shader parameter struct. |
|
EShaderPlatf... |
GetShaderPlatform() |
|
|
GetSortKey() |
Returns an identifier suitable for deterministic sorting of shaders between sessions. |
|
|
const FShade... |
GetTarget() |
|
|
FShaderType ... |
GetType ( |
|
|
FShaderType ... |
GetType ( |
Accessors. |
|
const FTypeL... |
GetTypeLayout() |
|
|
FShaderType ... |
GetTypeUnfrozen() |
|
|
const TShade... |
GetUniformBufferParameter() |
Finds an automatically bound uniform buffer matching the given uniform buffer type if one exists, or returns an unbound parameter. |
|
const FShade... |
GetUniformBufferParameter ( |
Finds an automatically bound uniform buffer matching the given uniform buffer struct if one exists, or returns an unbound parameter. |
|
const FShade... |
GetUniformBufferParameter ( |
Finds an automatically bound uniform buffer matching the HashedName if one exists, or returns an unbound parameter. |
|
const FSHAHa... |
GetVertexFactoryHash() |
|
|
FVertexFacto... |
GetVertexFactoryType ( |
|
|
FVertexFacto... |
GetVertexFactoryType ( |
|
|
IsFrozen() |
||
|
ModifyCompilationEnvironment ( |
Can be overridden by FShader subclasses to modify their compile environment just before compilation occurs. |
|
|
SaveShaderStableKeys ( |
||
|
SetNumInstructions ( |
||
|
ShouldCompilePermutation ( |
Can be overridden by FShader subclasses to determine whether a specific permutation should be compiled. |
|
|
FTypeLayoutD... |
StaticGetTypeLayout() |
|
|
ValidateCompiledResult ( |
Can be overridden by FShader subclasses to determine whether compilation is valid. |
Name |
Description |
|
---|---|---|
|
InternalLinkType |
|
|
InternalLinkType< COUNTER-CounterBase > |
Name |
Description |
---|---|
CounterBase |
|
InterfaceType |