class
FMaterialShaderStatsReader
- Module
- AssetSystem
- Header
#include "AssetSystem/Assets/MaterialShaderStats.h"- Namespace
Mowo
Public functions
| Returns | Name | Description |
|---|---|---|
const char* | TargetName | |
const char* | TargetLabel | |
const char* | BlobExtension | |
FShaderBlobStats | ParseBlob | Pure — no device, no archive, no filesystem. |
FMaterialShaderStats | Collect | Load this graph's compiled blobs for target out of the shader archive (or the loose dev tree) and read them. |
std::string | HashHex | The blob base name the cook writes and the runtime asks for. |
Function details
TargetName
C++
static const char* TargetName(EMaterialShaderTarget target)TargetLabel
C++
static const char* TargetLabel(EMaterialShaderTarget target)BlobExtension
C++
static const char* BlobExtension(EMaterialShaderTarget target)ParseBlob
C++
static FShaderBlobStats ParseBlob(const uint8_t* data, size_t size)Pure — no device, no archive, no filesystem. The suite feeds it canned blobs, which is the only way a parser that silently returns zero fails somewhere other than in the editor's stats strip.
Collect
C++
static FMaterialShaderStats Collect(uint64_t graphHash, EMaterialShaderTarget target)Load this graph's compiled blobs for target out of the shader archive (or the loose dev tree) and read them. Found stays false when the material has not been compiled for that target.
HashHex
C++
static std::string HashHex(uint64_t hash)The blob base name the cook writes and the runtime asks for.
Generated from AssetSystem/Assets/MaterialShaderStats.h via assetsystem.json · Nov 4, 2026Version 1.0.0