Navigation
API > API/Plugins > API/Plugins/NiagaraShader
Inheritance Hierarchy
- FShaderType
- FNiagaraShaderType
References
| Module | NiagaraShader |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraShader/Public/NiagaraShaderType.h |
| Include | #include "NiagaraShaderType.h" |
Syntax
class FNiagaraShaderType : public FShaderType
Remarks
A shader meta type for niagara-linked shaders.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FNiagaraShaderType
(
FTypeLayoutDesc& InTypeLayout, |
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. | |
| void | BeginCompileShader
(
uint32 ShaderMapId, |
Enqueues a compilation for a new shader of this type. | |
| void | BeginCompileShaderFromSource
(
FStringView FriendlyName, |
Enqueues a compilation for a new shader of this type. | |
| FShader * | FinishCompileShader
(
const FSHAHash& NiagaraShaderMapHash, |
Either creates a new instance of this type or returns an equivalent existing shader. | |
| void | SetupCompileEnvironment
(
EShaderPlatform Platform, |
Sets up the environment used to compile an instance of this shader type. | |
| bool | ShouldCache
(
EShaderPlatform Platform, |
Checks if the shader type should be cached for a particular platform and script. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| CompiledShaderInitializerType | |||
| FParameters |