data-format (#94)
Co-authored-by: Metehan Tuncbilek <mtuncbilek95@gmail.com> Reviewed-on: https://git.madvoxel.net/OpenVulkano/OpenVulkano/pulls/94 Reviewed-by: Georg Hagen <georg.hagen@madvoxel.com> Co-authored-by: metehan.tuncbilek <metehan.tuncbilek@madvoxel.com> Co-committed-by: metehan.tuncbilek <metehan.tuncbilek@madvoxel.com>
This commit is contained in:
committed by
Georg Hagen
parent
e93ccbe89a
commit
6172f4e215
@@ -373,6 +373,10 @@ namespace OpenVulkano
|
||||
|
||||
uint32_t GetBytesPerPixel();
|
||||
|
||||
bool IsBlockCompressed();
|
||||
|
||||
size_t CalculatedSize(uint32_t& width, uint32_t& height);
|
||||
|
||||
static DataFormat GetFromName(std::string_view name);
|
||||
|
||||
static DataFormat GetFromMetalPixelFormat(int formatId);
|
||||
|
||||
Reference in New Issue
Block a user