import { Texture } from "https://deno.land/x/sdl2@0.9.0/mod.ts";
A structure that contains an efficient, driver-specific representation of pixel data.
Constructors
new
Texture(raw: Deno.PointerValue)Properties
[_raw]: Deno.PointerValue
Methods
Query the attributes of a texture.
setAlphaMod(a: number)
Set an additional alpha value multiplied into render copy operations.
setColorMod()
r: number,
g: number,
b: number,
Set an additional color value multiplied into render copy operations.