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

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

Public Member Functions

constexpr GPUGraphicsPipeline (GPUGraphicsPipelineRaw gPUGraphicsPipeline={}) noexcept
 Wraps GPUGraphicsPipeline.
 GPUGraphicsPipeline (GPUDeviceRef device, const GPUGraphicsPipelineCreateInfo &createinfo)
 Creates a pipeline object to be used in a graphics workflow.
constexpr operator GPUGraphicsPipelineRaw () const noexcept
 Unwraps to the underlying GPUGraphicsPipeline.

Detailed Description

An opaque handle representing a graphics pipeline.

Used during render passes.

Since
This struct is available since SDL 3.2.0.
See also
GPUDevice.CreateGraphicsPipeline
GPURenderPass.BindPipeline
GPUDevice.ReleaseGraphicsPipeline

Constructor & Destructor Documentation

◆ GPUGraphicsPipeline()

SDL::GPUGraphicsPipeline::GPUGraphicsPipeline ( GPUGraphicsPipelineRaw gPUGraphicsPipeline = {})
inlineconstexprnoexcept

Wraps GPUGraphicsPipeline.

Parameters
gPUGraphicsPipelinethe value to be wrapped

Member Function Documentation

◆ operator GPUGraphicsPipelineRaw()

SDL::GPUGraphicsPipeline::operator GPUGraphicsPipelineRaw ( ) const
inlineconstexprnoexcept

Unwraps to the underlying GPUGraphicsPipeline.

Returns
the underlying GPUGraphicsPipelineRaw.

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