Module

x/evt/lib/index.ts>dom.ANGLE_instanced_arrays

šŸ’§EventEmitter's typesafe replacement
Go to Latest
interface dom.ANGLE_instanced_arrays
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";
const { ANGLE_instanced_arrays } = dom;

The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type.

Properties

readonly
VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum

Methods

drawArraysInstancedANGLE(
mode: GLenum,
first: GLint,
count: GLsizei,
primcount: GLsizei,
): void
drawElementsInstancedANGLE(
mode: GLenum,
count: GLsizei,
type: GLenum,
offset: GLintptr,
primcount: GLsizei,
): void
vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void