Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
GetBytesPerPixel.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
utils/webgpu.hpp
"
4
5
namespace
Graphic::Utils
{
6
uint32_t
GetBytesPerPixel
(wgpu::TextureFormat format);
7
};
Graphic::Utils
Definition
DefaultSampler.hpp:6
Graphic::Utils::GetBytesPerPixel
uint32_t GetBytesPerPixel(wgpu::TextureFormat format)
Determines the number of bytes per pixel for a given wgpu texture format.
Definition
GetBytesPerPixel.cpp:13
webgpu.hpp
src
plugin
graphic
src
utils
GetBytesPerPixel.hpp
Generated by
1.16.1