![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MaterialShared.h>
Public Attributes | |
| const FMaterialRenderProxy * | MaterialRenderProxy |
| const FMaterial & | Material |
| bool | bShowSelection |
The context of a material being rendered.
| FMaterialRenderContext::FMaterialRenderContext | ( | const FMaterialRenderProxy * | InMaterialRenderProxy, |
| const FMaterial & | InMaterial, | ||
| const FSceneView * | InView | ||
| ) |
Constructor
|
inline |
| FGuid FMaterialRenderContext::GetExternalTextureGuid | ( | const FGuid & | ExternalTextureGuid, |
| const FName & | ParameterName, | ||
| int32 | SourceTextureIndex | ||
| ) | const |
| void FMaterialRenderContext::GetTextureCollectionParameterValue | ( | const FHashedMaterialParameterInfo & | ParameterInfo, |
| int32 | TextureCollectionIndex, | ||
| const UTextureCollection *& | OutValue | ||
| ) | const |
| void FMaterialRenderContext::GetTextureParameterValue | ( | const FHashedMaterialParameterInfo & | ParameterInfo, |
| int32 | TextureIndex, | ||
| const URuntimeVirtualTexture *& | OutValue | ||
| ) | const |
| void FMaterialRenderContext::GetTextureParameterValue | ( | const FHashedMaterialParameterInfo & | ParameterInfo, |
| int32 | TextureIndex, | ||
| const USparseVolumeTexture *& | OutValue | ||
| ) | const |
| void FMaterialRenderContext::GetTextureParameterValue | ( | const FHashedMaterialParameterInfo & | ParameterInfo, |
| int32 | TextureIndex, | ||
| const UTexture *& | OutValue | ||
| ) | const |
| bool FMaterialRenderContext::bShowSelection |
Whether or not selected objects should use their selection color.
| const FMaterial& FMaterialRenderContext::Material |
Material resource to use.
| const FMaterialRenderProxy* FMaterialRenderContext::MaterialRenderProxy |
material instance used for the material shader