Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Assets::Authored::MaterialAssetRef Struct Reference

Handle to a material payload. More...

#include <AssetRefs.h>

Collaboration diagram for Engine::Assets::Authored::MaterialAssetRef:

Public Attributes

std::string_view source
 Authored source path that declares the material.
std::string_view materialName
 Material name inside the source asset.

Detailed Description

Handle to a material payload.

Materials are resolved separately from geometry so a mesh component can override primitive materials without changing the geometry handle. Lightmapped glTF nodes can produce per-node material handles even when they originate from the same authored glTF material.

Definition at line 46 of file AssetRefs.h.

Member Data Documentation

◆ materialName

std::string_view Engine::Assets::Authored::MaterialAssetRef::materialName

Material name inside the source asset.

Definition at line 49 of file AssetRefs.h.

◆ source

std::string_view Engine::Assets::Authored::MaterialAssetRef::source

Authored source path that declares the material.

Definition at line 48 of file AssetRefs.h.


The documentation for this struct was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Asset/AssetRefs.h