void GPU_texture_free(GPUTexture *texture)
@ GPU_TEXTURE_USAGE_GENERAL
GPUTexture * DRW_texture_create_2d_ex(int w, int h, eGPUTextureFormat format, eGPUTextureUsage usage, DRWTextureFlag flags, const float *fpixels)
gpu::Batch * batch
Batch to draw the associated text on the screen.
bool need_full_update
does this texture need a full update.
rcti clipping_bounds
area of the texture in screen space.
int2 offset() const
return the offset of the texture with the area.
void ensure_gpu_texture(int2 texture_size)
rctf clipping_uv_bounds
uv area of the texture in screen space.