![]() |
ToyGine2 26.2.0
Game Engine for retro consoles
|
Definitions for pixelFormatName() and pixelFormatFromName() declared in render/pixel_format.hpp.
More...
#include "render.hpp"Namespaces | |
| namespace | toy |
| Root namespace containing all engine modules. | |
| namespace | toy::render |
| Rendering types and utilities: clear flags, pixel formats, and related APIs. | |
Functions | |
| CStringView | toy::render::pixelFormatName (PixelFormat format) noexcept |
| Returns the canonical string name for a pixel format. | |
| PixelFormat | toy::render::pixelFormatFromName (CStringView name) noexcept |
| Parses a format name and returns the corresponding toy::render::PixelFormat. | |
Variables | |
| static constexpr array< CStringView, std::to_underlying(PixelFormat::Unknown)> | toy::render::_formatNames |
Definitions for pixelFormatName() and pixelFormatFromName() declared in render/pixel_format.hpp.