Skip to content

StateTrap

enum StateTrap
Package: dev.joid.test.contract · Module: tool-testkit · Source: StateTrap.java

A state that a host may leave set before a frame of JOID, which StateGuardContractSuite sets to check that JOID draws the same anyway.

ValueSummary
BLENDA blending of the host.
SCISSORA scissor test left on.
LOGIC_OPA logic operation left on.
FRONT_FACEThe front face reversed.
ALPHA_TESTAn alpha test left on, on a compatibility context.
PIXEL_STOREPixel storage parameters for uploads and reads.
FRAMEBUFFERA read framebuffer bound.
PIXEL_BUFFERA pixel buffer bound for uploads.
POLYGON_MODEPolygons drawn as lines.
STENCIL_MASKA stencil write mask.
VERTEX_ARRAYA vertex array of the host bound.
CLIENT_ARRAYSClient vertex arrays, on a compatibility context.
COLOR_MATERIALColor material left on, on a compatibility context.
DEPTH_FUNCTIONA depth function of the host.
SAMPLER_OBJECTSSampler objects bound on the texture units.
TEXTURE_PARAMETERSParameters changed on a texture of the host.
EVERYTHINGEvery other trap at once.

BLEND

A blending of the host.

SCISSOR

A scissor test left on.

LOGIC_OP

A logic operation left on.

FRONT_FACE

The front face reversed.

ALPHA_TEST

An alpha test left on, on a compatibility context.

PIXEL_STORE

Pixel storage parameters for uploads and reads.

FRAMEBUFFER

A read framebuffer bound.

PIXEL_BUFFER

A pixel buffer bound for uploads.

POLYGON_MODE

Polygons drawn as lines.

STENCIL_MASK

A stencil write mask.

VERTEX_ARRAY

A vertex array of the host bound.

CLIENT_ARRAYS

Client vertex arrays, on a compatibility context.

COLOR_MATERIAL

Color material left on, on a compatibility context.

DEPTH_FUNCTION

A depth function of the host.

SAMPLER_OBJECTS

Sampler objects bound on the texture units.

TEXTURE_PARAMETERS

Parameters changed on a texture of the host.

EVERYTHING

Every other trap at once.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page