Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/Shader.h |
Include |
#include "Shader.h" |
class FShaderType
An object which is used to serialize/deserialize, compile, and cache a particular shader class.
A shader type can manage multiple instance of FShader across mutiple dimensions such as EShaderPlatform, or permutation id. The number of permutation of a shader type is simply given by GetPermutationCount().
Name | Description | ||
---|---|---|---|
|
std::atomic< ES... |
CachedUniformBufferPlatform |
Tracks what platforms ReferencedUniformBufferStructsCache has had declarations cached for. |
|
ReferencedUniformBufferStructsCache |
Cache of referenced uniform buffer includes. |
Name | Description | |
---|---|---|
|
FShaderType ( |
Minimal initialization constructor. |
Name | Description | |
---|---|---|
|
~FShaderType() |
Name |
Description |
|
---|---|---|
|
FParameters |
Derived FShaderTypes should derive from this class to pass params to FShader constructor |
Name |
Description |
|
---|---|---|
|
EShaderTypeForDynamicCast |
Name |
Description |
---|---|
bInitializedSerializationHistory |
Tracks whether serialization history for all shader types has been initialized. |