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
5namespace Graphic::Utils {
6uint32_t GetBytesPerPixel(wgpu::TextureFormat format);
7};
Definition DefaultSampler.hpp:6
uint32_t GetBytesPerPixel(wgpu::TextureFormat format)
Determines the number of bytes per pixel for a given wgpu texture format.
Definition GetBytesPerPixel.cpp:13