3#ifndef GDK_GRAPHICS_PROFILE_H
4#define GDK_GRAPHICS_PROFILE_H
6#include <gdk/graphics/limits.h>
12namespace gdk::graphics {
25 [[nodiscard]]
bool operator==(
const profile &)
const =
default;
34 void check_texture(
const profile &aProfile, std::size_t aWidth, std::size_t aHeight);
38 void check_texture(
const profile &aProfile, std::size_t aWidth, std::size_t aHeight,
39 bool aClampedAndUnmipmapped);
44 [[nodiscard]] std::string past_limit(
const profile &aProfile, std::string_view aWhat, std::size_t aHas,
45 std::string_view aLimit, std::size_t aMost);
vertex data stored in system memory.
Definition model_data.h:25
used to (optionally) enforce limits on graphical types used across graphics apis
Definition limits.h:12
a target's limits
Definition profile.h:18
std::string name
said in every refusal: webgl1_minimum, adreno_330
Definition profile.h:20
graphics::limits most
the most of each property this target takes
Definition profile.h:23