Navigation
API > API/Plugins > API/Plugins/ShaderAuditCore
Description
Build detail rows for a material's shaders. Shared between Slate detail panel and MCP. Filters by VisibleShaders bitarray, sorts by size descending then refcount ascending.
| Name | BuildMaterialDetailRows |
| Type | function |
| Header File | /Engine/Plugins/Developer/ShaderToolkit/Source/ShaderAuditCore/Public/ShaderAuditTypes.h |
| Include Path | #include "ShaderAuditTypes.h" |
| Source | /Engine/Plugins/Developer/ShaderToolkit/Source/ShaderAuditCore/Private/Widgets/SShaderCostTreeMap.cpp |
TArray < TSharedPtr < FShaderDetailRow > > BuildMaterialDetailRows
(
const FShaderAuditSession & Session,
int32 MaterialIndex,
const TBitArray <> * VisibleShaders
)