Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/xdg/vendor/types/deno.d.ts>GPURenderBundleEncoder

Determine XDG Base Directory paths (OS/platform portable)
Go to Latest
class GPURenderBundleEncoder
import { GPURenderBundleEncoder } from "https://deno.land/x/xdg@v10.5.1/vendor/types/deno.d.ts";

Properties

label: string | null

Methods

draw(
vertexCount: number,
instanceCount?: number,
firstVertex?: number,
firstInstance?: number,
): undefined
drawIndexed(
indexCount: number,
instanceCount?: number,
firstIndex?: number,
baseVertex?: number,
firstInstance?: number,
): undefined
drawIndexedIndirect(indirectBuffer: GPUBuffer, indirectOffset: number): undefined
drawIndirect(indirectBuffer: GPUBuffer, indirectOffset: number): undefined
insertDebugMarker(markerLabel: string): undefined
popDebugGroup(): undefined
pushDebugGroup(groupLabel: string): undefined
setBindGroup(
index: number,
bindGroup: GPUBindGroup,
dynamicOffsets?: number[],
): undefined
setBindGroup(
index: number,
bindGroup: GPUBindGroup,
dynamicOffsetsData: Uint32Array,
dynamicOffsetsDataStart: number,
dynamicOffsetsDataLength: number,
): undefined
setIndexBuffer(
buffer: GPUBuffer,
indexFormat: GPUIndexFormat,
offset?: number,
size?: number,
): undefined
setPipeline(pipeline: GPURenderPipeline): undefined
setVertexBuffer(
slot: number,
buffer: GPUBuffer,
offset?: number,
size?: number,
): undefined