The API for GL resources.
Function creating GL textures.
Function creating GL framebuffers.
Optionalstate: { The state parameters.
Data width, aliases follow in order
of precedence. See getWidth.
Alias of state.width. See getWidth.
Alias of state.width. See getWidth.
Alias of state.width. See getWidth.
Data height, aliases follow in order
of precedence. See getHeight.
Alias of state.height. See getHeight.
Alias of state.height. See getHeight.
Alias of state.height. See getHeight.
Data size. See getWidth and getHeight.
Data size. See getWidth and getHeight.
Data size of width/height.
See getWidth and getHeight.
Data size of width/height as a square
power-of-two size, 2 raised to this power. See toScaled.
How many steps of state to track, or the list of states if already set up.
How state.maps.values are grouped
per-texture per-pass per-step. See mapGroups.
Optionalto: any = stateThe state object to set up. Modifies the given
state object by default.
to The state object, set up with the data resources and
meta information, for use with toStep and drawing:
Example using merge.
Set up the
gpgpuresources and meta info for a state of a number data.