Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/MaterialShared.h |
| Include | #include "MaterialShared.h" |
Syntax
struct FMaterialRenderContext
Remarks
The context of a material being rendered.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bShowSelection | Whether or not selected objects should use their selection color. | |
| const FMaterial & | Material | Material resource to use. | |
| const FMaterialRenderProxy * | MaterialRenderProxy | Material instance used for the material shader |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMaterialRenderContext
(
const FMaterialRenderProxy* InMaterialRenderProxy, |
Constructor | ||
FMaterialRenderContext
(
const FMaterialRenderProxy* InMaterialRenderProxy, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FGuid | GetExternalTextureGuid
(
const FGuid& ExternalTextureGuid, |
||
| void | GetTextureParameterValue
(
const FHashedMaterialParameterInfo& ParameterInfo, |
||
| void | GetTextureParameterValue
(
const FHashedMaterialParameterInfo& ParameterInfo, |
||
| void | GetTextureParameterValue
(
const FHashedMaterialParameterInfo& ParameterInfo, |