22 lines
464 B
C++
22 lines
464 B
C++
#pragma once
|
|
|
|
#include "foundation/result.h"
|
|
|
|
#include <cstddef>
|
|
#include <span>
|
|
|
|
namespace pp::renderer {
|
|
|
|
constexpr std::size_t max_shader_catalog_entries = 256;
|
|
|
|
struct ShaderCatalogEntry {
|
|
const char* name = "";
|
|
const char* path = "";
|
|
};
|
|
|
|
[[nodiscard]] std::span<const ShaderCatalogEntry> panopainter_shader_catalog() noexcept;
|
|
[[nodiscard]] pp::foundation::Status validate_shader_catalog(
|
|
std::span<const ShaderCatalogEntry> catalog) noexcept;
|
|
|
|
}
|