SDL_GPULoadOp - Specifies how the contents of a texture attached to a render pass are treated at the
Contents
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;