Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
prism/engine/gfx/webgpu/src/gfx_webgpu_pipeline.hpp
2022-03-10 10:20:50 -05:00

17 lines
352 B
C++

#pragma once
#include <map>
#include "gfx_pipeline.hpp"
class GFXWebGPUPipeline : public GFXPipeline {
public:
std::string label;
WGPURenderPipeline render_handle = nullptr;
WGPUComputePipeline compute_handle = nullptr;
WGPUBindGroupLayout bind_group_layout = nullptr;
std::map<uint64_t, WGPUBindGroup> cached_bind_groups;
};