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