SDL_SetGPUStencilReference(3)
π
SDL_SetGPUStencilReference(3) π
okay bestie, you're in the SDL3 FUNCTIONS section and this page is all about SDL_SetGPUStencilReference(3) β it sets the current stencil reference value on a command buffer. lowkey does exactly what it says. periodt. β¨
πΈ NAME πΈ
SDL_SetGPUStencilReference β sets the current stencil reference value on a command buffer. yes, that's the whole vibe. π
π SYNOPSIS π
#include <SDL3/SDL_gpu.h>
void SDL_SetGPUStencilReference(
SDL_GPURenderPass *render_pass,
Uint8 reference);
π«Ά FUNCTION PARAMETERS π«Ά
render_passβ a render pass handle. it's giving "here's the pass you're working with." π«referenceβ the stencil reference value to set. it's aUint8, so keep it cute and in range. π
β AVAILABILITY β
This function is available since SDL 3.2.0. no cap. π
and that's the whole page, bestie! brought to you by Simple Directmedia Layer, SDL 3.4.18 β no date on this one, just vibes and stencil references. SDL_SetGPUStencilReference(3) out. π¦
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms