SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
SDL::GPUComputePipeline Class Reference

An opaque handle representing a compute pipeline. More...

Public Member Functions

constexpr GPUComputePipeline (GPUComputePipelineRaw gPUComputePipeline={}) noexcept
 Wraps GPUComputePipeline.
 GPUComputePipeline (GPUDeviceRef device, const GPUComputePipelineCreateInfo &createinfo)
 Creates a pipeline object to be used in a compute workflow.
constexpr operator GPUComputePipelineRaw () const noexcept
 Unwraps to the underlying GPUComputePipeline.

Detailed Description

An opaque handle representing a compute pipeline.

Used during compute passes.

Since
This struct is available since SDL 3.2.0.
See also
GPUDevice.CreateComputePipeline
GPUComputePass.BindPipeline
GPUDevice.ReleaseComputePipeline

Constructor & Destructor Documentation

◆ GPUComputePipeline()

SDL::GPUComputePipeline::GPUComputePipeline ( GPUComputePipelineRaw gPUComputePipeline = {})
inlineconstexprnoexcept

Wraps GPUComputePipeline.

Parameters
gPUComputePipelinethe value to be wrapped

Member Function Documentation

◆ operator GPUComputePipelineRaw()

SDL::GPUComputePipeline::operator GPUComputePipelineRaw ( ) const
inlineconstexprnoexcept

Unwraps to the underlying GPUComputePipeline.

Returns
the underlying GPUComputePipelineRaw.

The documentation for this class was generated from the following file: