Scroll to navigation

SDL_BindGPUGraphicsPipeline(3) SDL3 FUNCTIONS SDL_BindGPUGraphicsPipeline(3)

NAME

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

SYNOPSIS

#include <SDL3/SDL_gpu.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

a render pass handle.
the graphics pipeline to bind.

AVAILABILITY

This function is available since SDL 3.2.0.

SDL 3.2.14 Simple Directmedia Layer