sdlBindGpuComputePipeline function
void
sdlBindGpuComputePipeline(
- Pointer<
SdlGpuComputePass> computePass, - Pointer<
SdlGpuComputePipeline> computePipeline
Binds a compute pipeline on a command buffer for use in compute dispatch.
\param compute_pass a compute pass handle. \param compute_pipeline a compute pipeline to bind.
\since This function is available since SDL 3.1.3.
extern SDL_DECLSPEC void SDLCALL SDL_BindGPUComputePipeline( SDL_GPUComputePass *compute_pass, SDL_GPUComputePipeline *compute_pipeline)
Implementation
void sdlBindGpuComputePipeline(Pointer<SdlGpuComputePass> computePass,
Pointer<SdlGpuComputePipeline> computePipeline) {
final sdlBindGpuComputePipelineLookupFunction = libSdl3.lookupFunction<
Void Function(Pointer<SdlGpuComputePass> computePass,
Pointer<SdlGpuComputePipeline> computePipeline),
void Function(Pointer<SdlGpuComputePass> computePass,
Pointer<SdlGpuComputePipeline> computePipeline)>(
'SDL_BindGPUComputePipeline');
return sdlBindGpuComputePipelineLookupFunction(computePass, computePipeline);
}