Added initial implementation of the SDL Pixels category.

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
BadQuanta
2026-04-26 17:45:26 +00:00
parent 85dbe33a77
commit 97c8847eb0
8 changed files with 239 additions and 11 deletions
+14
View File
@@ -0,0 +1,14 @@
#pragma once
/** @file pixels.hpp
* @brief glue together various pixel related wrappers that have circular dependencies
*/
#include "pixels/PixelFormat.hpp"
#include "pixels/PixelFormatDetails.hpp"
#include "pixels/Palette.hpp"
/** Pixels are a complex subject. */
namespace hdk::sdl {
/** @see https://wiki.libsdl.org/SDL3/SDL_GetPixelFormatDetails */
PixelFormatDetails PixelFormat::GetDetails() const { return PixelFormatDetails::Get(*this); }
}