Move texture2d mapping to renderer gl
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user