Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
MaterialPublication.h
1#pragma once
2
3#include "Engine/Asset/AssetHandles.h"
4#include "Engine/Material/MaterialTypes.h"
5
6#include <cstdint>
7#include <functional>
8#include <span>
9
10namespace Engine::Rendering
11{
21
28 {
29 uint32_t frameSlot;
31 std::span<const PublishedMaterial> materials;
32 };
33
34 using MaterialsPublishedCallback = std::function<void( const MaterialPublication & )>;
35} // namespace Engine::Rendering
AssetHandle< MaterialHandleTag > MaterialHandle
Handle to a material payload.
std::function< void(const MaterialPublication &)> MaterialsPublishedCallback
PipelineNames
Named graphics pipelines used by material selection and shader lookup.
Material snapshot published to one fence-safe frame slot.
std::span< const PublishedMaterial > materials
Stable location of one material in a pipeline-specific GPU material buffer.