import { TextureCreator } from "https://deno.land/x/sdl2@0.9.0/mod.ts";
A class used to create textures.
Constructors
new
TextureCreator(raw: Deno.PointerValue)Methods
createTexture(): Texture
format: number,
access: number,
w: number,
h: number,
Create a texture for a rendering context.
createTextureFromSurface(surface: Surface): Texture
Create a texture from a surface.