Move texture2d mapping to renderer gl

This commit is contained in:
2026-06-02 06:41:00 +02:00
parent 02f14f1bf5
commit 85a5d19a3e
6 changed files with 68 additions and 15 deletions

View File

@@ -123,6 +123,11 @@ std::uint32_t texture_upload_type_for_internal_format(std::uint32_t internal_for
}
}
std::uint32_t unsigned_byte_component_type() noexcept
{
return gl_unsigned_byte;
}
std::uint32_t rgba_pixel_format() noexcept
{
return gl_rgba;