Diligent Engine
Loading...
Searching...
No Matches
Diligent::RadientMaterialAssetView Struct Reference

#include <RadientMaterialAssetManager.hpp>

Detailed Description

Immutable renderer-neutral view of a material asset and its selected texture dependencies. Texture entries are ordered by ParameterIndex and ArrayIndex. ParameterIndex refers to the material definition retained by pMaterial. pTextureIndexByParameter maps every definition parameter to its first texture entry; non-texture parameters map to InvalidTextureIndex. The view remains valid while the material asset is retained.