22 class WGShaderProgram;
24 class WGPipelineLayout;
26 class WGCommandBuffer;
A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
Definition GPUCommandBuffer.hpp:77
GPUDevice & device
The owning device this object was created from.
Definition Common.hpp:55
Definition GPUGraphicsPipeline.hpp:790
const Descriptor & descriptor
A structure that describes the object and it's properties.
Definition Common.hpp:69
Definition WebGPU.hpp:119
WebGPU RenderAPI graphics pipeline object.
Definition WGGraphicsPipeline.hpp:29
const GPUGraphicsPipelineDescriptor mDescriptor
A object that describes the graphics pipeline object.
Definition WGGraphicsPipeline.hpp:32
WGShaderProgramPtr mShaderProgram
A vector of all pipelines stages in the pipeline.
Definition WGGraphicsPipeline.hpp:41
~WGGraphicsPipeline() final
void begin(GPUCommandBuffer &commandBuffer) final
GPUResourceSetPtr createResourceSet(const GPUResourceSetDescriptor &descriptor, UInt32 set=0) final
WGRenderPassPtr mRenderPass
The WebGPU render pass.
Definition WGGraphicsPipeline.hpp:35
void end(GPUCommandBuffer &commandBuffer) final
WGGraphicsPipeline(WGDevicePtr device, const GPUGraphicsPipelineDescriptor &descriptor)
WGPipelineLayoutPtr mPipelineLayout
The WebGPU pipeline layout.
Definition WGGraphicsPipeline.hpp:38
Definition Application.hpp:19
std::uint32_t UInt32
Definition DataTypes.hpp:23
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Definition GPUGraphicsPipeline.hpp:721
Definition GPUResourceSet.hpp:716