#include <resource_manager.hpp>
◆ CreateBufferWithData()
Buffer ResourceManager::CreateBufferWithData |
( |
wgpu::Device & | device, |
|
|
const void * | data, |
|
|
size_t | size, |
|
|
wgpu::BufferUsageFlags | usage ) |
|
static |
◆ CreateShaderModule()
ShaderModule ResourceManager::CreateShaderModule |
( |
wgpu::Device & | device, |
|
|
std::string const & | shader_source ) |
|
static |
◆ GetDevice() [1/2]
Device ResourceManager::GetDevice |
( |
| ) |
|
|
static |
◆ GetDevice() [2/2]
Device ResourceManager::GetDevice |
( |
wgpu::RequiredLimits | limits | ) |
|
|
static |
◆ ReadBuffer()
void ResourceManager::ReadBuffer |
( |
wgpu::Device & | device, |
|
|
wgpu::Buffer const & | buffer, |
|
|
size_t | buffer_offset, |
|
|
void * | data, |
|
|
size_t | size ) |
|
static |
◆ ReadFile()
std::string ResourceManager::ReadFile |
( |
std::filesystem::path const & | path | ) |
|
|
static |
The documentation for this class was generated from the following files: