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.

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

a render pass handle.
the graphics pipeline to bind.

AVAILABILITY

This function is available since SDL 3.1.3.

SDL 3.1.6 Simple Directmedia Layer