Added initial implementation of the SDL Pixels category.
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -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); }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user