Reference

SDL_BindGPUGraphicsPipeline(3)

Binds a graphics pipeline on a render pass to be used in rendering.

NAME

SDL_BindGPUGraphicsPipeline - Binds a graphics pipeline on a render pass to be used in rendering.

HEADER FILE

Defined in SDL3/SDL_gpu.h

SYNOPSIS

#include "SDL3/SDL.h"

void SDL_BindGPUGraphicsPipeline( SDL_GPURenderPass *render_pass, SDL_GPUGraphicsPipeline *graphics_pipeline);

DESCRIPTION

A graphics pipeline must be bound before making any draw calls.

FUNCTION PARAMETERS

render_pass

a render pass handle.

graphics_pipeline

the graphics pipeline to bind.

AVAILABILITY

This function is available since SDL 3.2.0.