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.
Learn more
Section titled “Learn more”Values
Section titled “Values”| Value | Summary |
|---|---|
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. |
Value details
Section titled “Value details”BLEND
A blending of the host.
SCISSOR
Section titled “SCISSOR”SCISSOR
A scissor test left on.
LOGIC_OP
Section titled “LOGIC_OP”LOGIC_OP
A logic operation left on.
FRONT_FACE
Section titled “FRONT_FACE”FRONT_FACE
The front face reversed.
ALPHA_TEST
Section titled “ALPHA_TEST”ALPHA_TEST
An alpha test left on, on a compatibility context.
PIXEL_STORE
Section titled “PIXEL_STORE”PIXEL_STORE
Pixel storage parameters for uploads and reads.
FRAMEBUFFER
Section titled “FRAMEBUFFER”FRAMEBUFFER
A read framebuffer bound.
PIXEL_BUFFER
Section titled “PIXEL_BUFFER”PIXEL_BUFFER
A pixel buffer bound for uploads.
POLYGON_MODE
Section titled “POLYGON_MODE”POLYGON_MODE
Polygons drawn as lines.
STENCIL_MASK
Section titled “STENCIL_MASK”STENCIL_MASK
A stencil write mask.
VERTEX_ARRAY
Section titled “VERTEX_ARRAY”VERTEX_ARRAY
A vertex array of the host bound.
CLIENT_ARRAYS
Section titled “CLIENT_ARRAYS”CLIENT_ARRAYS
Client vertex arrays, on a compatibility context.
COLOR_MATERIAL
Section titled “COLOR_MATERIAL”COLOR_MATERIAL
Color material left on, on a compatibility context.
DEPTH_FUNCTION
Section titled “DEPTH_FUNCTION”DEPTH_FUNCTION
A depth function of the host.
SAMPLER_OBJECTS
Section titled “SAMPLER_OBJECTS”SAMPLER_OBJECTS
Sampler objects bound on the texture units.
TEXTURE_PARAMETERS
Section titled “TEXTURE_PARAMETERS”TEXTURE_PARAMETERS
Parameters changed on a texture of the host.
EVERYTHING
Section titled “EVERYTHING”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
