Navigation
API > API/Runtime > API/Runtime/Renderer
Inheritance Hierarchy
- FShader
- FMaterialShader
- FMeshMaterialShader
References
| Module | Renderer |
| Header | /Engine/Source/Runtime/Renderer/Public/MaterialShader.h |
| Include | #include "MaterialShader.h" |
Syntax
class FMaterialShader : public FShader
Remarks
Base class of all shaders that need material parameters.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FMemoryImageString | DebugDescription | ||
| FDebugUniformExpressionSet | DebugUniformExpressionSet | ||
| FRHIUniformBufferLayoutInitializer | DebugUniformExpressionUBLayout |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMaterialShader
(
const FMaterialShaderType::CompiledShaderInitializerType& Initializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FRHIUniformBuffer * | GetParameterCollectionBuffer
(
const FGuid& Id, |
||
| void | GetShaderBindings
(
const FScene* Scene, |
||
| RENDERER_API const FTypeLayoutDesc & | |||
| void | SetParameters
(
FRHIBatchedShaderParameters& BatchedParameters, |
Sets pixel parameters that are material specific but not FMeshBatch specific. | |
| void | SetParameters
(
TRHICommandList& RHICmdList, |
Sets pixel parameters that are material specific but not FMeshBatch specific. | |
| void | SetViewParameters
(
FRHIBatchedShaderParameters& BatchedParameters, |
||
| void | SetViewParameters
(
TRHICommandList& RHICmdList, |
||
| RENDERER_API FTypeLayoutDesc & |
Classes
| Type | Name | Description | |
|---|---|---|---|
| InternalLinkType |
Typedefs
| Name | Description |
|---|---|
| DerivedType | |
| FPermutationParameters | |
| InternalBaseType | |
| ShaderMetaType |
Constants
| Name | Description |
|---|---|
| bAllowCachedUniformExpressions | If true, cached uniform expressions are allowed. |
| CounterBase | |
| CVarAllowCachedUniformExpressions | Console variable ref to toggle cached uniform expressions. |
| InterfaceType | |
| UniformBufferLayoutName |