logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_GPULoadOp - Specifies how the contents of a texture attached to a render pass are treated at the

Availability

       This enum is available since SDL 3.2.0.

Header File

       Defined in SDL3/SDL_gpu.h

Name

       SDL_GPULoadOp  -  Specifies  how  the  contents of a texture attached to a render pass are treated at the
       beginning of the render pass.

See Also

(3), SDL_BeginGPURenderPass(3)

Simple Directmedia Layer                           SDL 3.2.10                               SDL_GPULoadOp(3type)

Synopsis

#include"SDL3/SDL.h"typedefenumSDL_GPULoadOp{SDL_GPU_LOADOP_LOAD,/**<Thepreviouscontentsofthetexturewillbepreserved.*/SDL_GPU_LOADOP_CLEAR,/**<Thecontentsofthetexturewillbeclearedtoacolor.*/SDL_GPU_LOADOP_DONT_CARE/**<Thepreviouscontentsofthetextureneednotbepreserved.Thecontentswillbeundefined.*/}SDL_GPULoadOp;

See Also