Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ReadOptions<T>

Type parameters

  • T

Hierarchy

  • ReadOptions

Index

Properties

Optional data

data: T

An optional ArrayBufferView which gets the result of reading the pixels. (Default: null)

Optional framebuffer

framebuffer: Framebuffer

Sets the framebuffer to read pixels from. (Default: currently bound framebuffer)

Optional height

height: number

The height of the rectangle in pixels (Default: current framebuffer height)

Optional width

width: number

The width of the rectangle in pixels. (Default: current framebuffer width)

Optional x

x: number

The x-offset of the upper-left corner of the rectangle in pixels. (Default: 0)

Optional y

y: number

The y-offset of the upper-left corner of the rectangle in pixels. (Default: 0)

Generated using TypeDoc