Skip to main content
Module

x/sdl2/mod.ts>Texture#setAlphaMod

SDL2 module for Deno
Latest
method Texture.prototype.setAlphaMod
import { Texture } from "https://deno.land/x/sdl2@0.9.0/mod.ts";

Set an additional alpha value multiplied into render copy operations.

Parameters

a: number

the source alpha value multiplied into copy operations