Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- A - Enum constant in enum class playn.core.Key
- activate() - Method in class playn.core.GLProgram
-
Binds this shader program, in preparation for rendering.
- add(int, Object) - Method in interface playn.core.Json.Array
-
Inserts a JSON boolean, null, number, object, or array value at the given index.
- add(Object) - Method in interface playn.core.Json.Array
-
Appends a JSON boolean, null, number, object, or array value.
- addHeader(String, String) - Method in class playn.core.Net.Builder
-
Adds the supplied request header.
- addQuad(int, float, float, float, float, float, float, float, float, float, float, float, float, float, float) - Method in class playn.core.QuadBatch
-
Adds a transformed axis-aligned quad to this batch.
- addQuad(int, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float) - Method in class playn.core.QuadBatch
-
Adds a transformed axis-aligned quad to this batch.
- addQuad(int, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float) - Method in class playn.core.TriangleBatch
- addQuad(int, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float) - Method in class playn.core.UniformQuadBatch
- addQuad(int, AffineTransform, float, float, float, float, float, float, float, float) - Method in class playn.core.QuadBatch
-
Adds a transformed axis-aligned quad to this batch.
- addQuad(Texture, int, AffineTransform, float, float, float, float) - Method in class playn.core.QuadBatch
-
Adds
tex
as a transformed axis-aligned quad to this batch. - addQuad(Texture, int, AffineTransform, float, float, float, float, float, float, float, float) - Method in class playn.core.QuadBatch
-
Adds
tex
as a transformed axis-aligned quad to this batch. - addToBatch(QuadBatch, int, AffineTransform, float, float, float, float) - Method in class playn.core.Texture
- addToBatch(QuadBatch, int, AffineTransform, float, float, float, float) - Method in class playn.core.Tile
-
Adds this tile to the supplied quad batch.
- addToBatch(QuadBatch, int, AffineTransform, float, float, float, float, float, float, float, float) - Method in class playn.core.Texture
- addToBatch(QuadBatch, int, AffineTransform, float, float, float, float, float, float, float, float) - Method in class playn.core.Tile
-
Adds this tile to the supplied quad batch.
- addTris(float[], float[], int, int, int[], int, int, int) - Method in class playn.core.TriangleBatch
-
Adds triangle primitives to a prepared batch.
- addTris(float[], int, int, float, float, int[], int, int, int) - Method in class playn.core.TriangleBatch
-
Adds triangle primitives to a prepared batch.
- addTris(Texture, int, AffineTransform, float[], float[], int, int, int[], int, int, int) - Method in class playn.core.TriangleBatch
-
Adds a collection of textured triangles to the current render operation.
- addTris(Texture, int, AffineTransform, float[], int, int, float, float, int[], int, int, int) - Method in class playn.core.TriangleBatch
-
Adds a collection of textured triangles to the current render operation.
- alpha - Variable in class playn.core.Clock
-
If this clock is used by a game with separate simulation and paint schedules, this value represents the fraction of time between the last simulation update and the next scheduled update.
- alpha() - Method in class playn.core.Surface
-
Returns the currently configured alpha.
- alpha(int) - Static method in class playn.core.Color
-
Extracts the alpha, in range [0, 255], from the given packed color.
- ALT - Enum constant in enum class playn.core.Key
- AMPERSAND - Enum constant in enum class playn.core.Key
- ANDROID - Enum constant in enum class playn.core.Platform.Type
- antialias - Variable in class playn.core.TextFormat
-
Whether or not the text should be antialiased.
- APP_SWITCH - Enum constant in enum class playn.core.Key
- argb(int, int, int, int) - Static method in class playn.core.Color
-
Creates a packed integer color from four ARGB values in the range [0, 255].
- ascent() - Method in class playn.core.TextLayout
-
The number of pixels from the top of a line of text to the baseline.
- assets() - Method in class playn.core.Platform
-
Returns the
Assets
service. - assets() - Method in class playn.core.StubPlatform
- Assets - Class in playn.core
-
Fetches and returns assets.
- ASTERISK - Enum constant in enum class playn.core.Key
- AT - Enum constant in enum class playn.core.Key
- audio() - Method in class playn.core.Platform
-
Returns the
Audio
service. - audio() - Method in class playn.core.StubPlatform
- Audio - Class in playn.core
-
Provides audio services, of which there are presently none.
- Audio() - Constructor for class playn.core.Audio
- AVR_INPUT - Enum constant in enum class playn.core.Key
- AVR_POWER - Enum constant in enum class playn.core.Key
B
- B - Enum constant in enum class playn.core.Key
- BACK - Enum constant in enum class playn.core.Key
- BACKQUOTE - Enum constant in enum class playn.core.Key
- BACKSLASH - Enum constant in enum class playn.core.Key
- BACKSPACE - Enum constant in enum class playn.core.Key
- BANG - Enum constant in enum class playn.core.Key
- BatchImpl - Class in playn.core
- BatchImpl(Storage) - Constructor for class playn.core.BatchImpl
- begin() - Method in class playn.core.Surface
-
Starts a series of drawing commands to this surface.
- begin(float, float, boolean) - Method in class playn.core.GLBatch
-
Must be called before this batch is used to accumulate and send drawing commands.
- begin(float, float, boolean) - Method in class playn.core.TriangleBatch
- begin(float, float, boolean) - Method in class playn.core.UniformQuadBatch
- BEVEL - Enum constant in enum class playn.core.Canvas.LineJoin
- bezierTo(float, float, float, float, float, float) - Method in interface playn.core.Path
-
Adds a bezier curve to the path, from the current position to the specified target, using the supplied control points.
- Binary(int, byte[], String) - Constructor for class playn.core.Net.Response.Binary
- bind() - Method in class playn.core.RenderTarget
-
Binds the framebuffer.
- bitmap - Variable in class playn.core.ImageImpl.Data
- blue(int) - Static method in class playn.core.Color
-
Extracts the blue component, in range [0, 255], from the given packed color.
- BLUE - Enum constant in enum class playn.core.Key
- BOLD - Enum constant in enum class playn.core.Font.Style
- BOLD_ITALIC - Enum constant in enum class playn.core.Font.Style
- BOOKMARK - Enum constant in enum class playn.core.Key
- bounds - Variable in class playn.core.TextBlock
-
The bounds of this block of text.
- bounds - Variable in class playn.core.TextLayout
-
Returns the precise bounds of the text rendered by this layout.
- BREAK - Enum constant in enum class playn.core.Key
- Buffers() - Constructor for class playn.core.GL20.Buffers
- bufs - Variable in class playn.core.GL20
- BUTT - Enum constant in enum class playn.core.Canvas.LineCap
- button - Variable in class playn.core.Mouse.ButtonEvent
-
The id of the button associated with this event.
- BUTTON_1 - Enum constant in enum class playn.core.Key
- BUTTON_10 - Enum constant in enum class playn.core.Key
- BUTTON_11 - Enum constant in enum class playn.core.Key
- BUTTON_12 - Enum constant in enum class playn.core.Key
- BUTTON_13 - Enum constant in enum class playn.core.Key
- BUTTON_14 - Enum constant in enum class playn.core.Key
- BUTTON_15 - Enum constant in enum class playn.core.Key
- BUTTON_16 - Enum constant in enum class playn.core.Key
- BUTTON_2 - Enum constant in enum class playn.core.Key
- BUTTON_3 - Enum constant in enum class playn.core.Key
- BUTTON_4 - Enum constant in enum class playn.core.Key
- BUTTON_5 - Enum constant in enum class playn.core.Key
- BUTTON_6 - Enum constant in enum class playn.core.Key
- BUTTON_7 - Enum constant in enum class playn.core.Key
- BUTTON_8 - Enum constant in enum class playn.core.Key
- BUTTON_9 - Enum constant in enum class playn.core.Key
- BUTTON_A - Enum constant in enum class playn.core.Key
- BUTTON_B - Enum constant in enum class playn.core.Key
- BUTTON_C - Enum constant in enum class playn.core.Key
- BUTTON_L1 - Enum constant in enum class playn.core.Key
- BUTTON_L2 - Enum constant in enum class playn.core.Key
- BUTTON_MODE - Enum constant in enum class playn.core.Key
- BUTTON_R1 - Enum constant in enum class playn.core.Key
- BUTTON_R2 - Enum constant in enum class playn.core.Key
- BUTTON_SELECT - Enum constant in enum class playn.core.Key
- BUTTON_START - Enum constant in enum class playn.core.Key
- BUTTON_THUMBL - Enum constant in enum class playn.core.Key
- BUTTON_THUMBR - Enum constant in enum class playn.core.Key
- BUTTON_X - Enum constant in enum class playn.core.Key
- BUTTON_Y - Enum constant in enum class playn.core.Key
- BUTTON_Z - Enum constant in enum class playn.core.Key
- ButtonEvent(int, double, float, float, Mouse.ButtonEvent.Id, boolean) - Constructor for class playn.core.Mouse.ButtonEvent
- buttonEvents(Mouse.Event) - Static method in class playn.core.Mouse
-
Checks whether
event
is aButtonEvent
and returns it (casted appropriately) if so. - ButtonSlot() - Constructor for class playn.core.Mouse.ButtonSlot
- byteBuffer - Variable in class playn.core.GL20.Buffers
C
- C - Enum constant in enum class playn.core.Key
- CALL - Enum constant in enum class playn.core.Key
- CAMERA - Enum constant in enum class playn.core.Key
- CANCEL - Enum constant in enum class playn.core.Pointer.Event.Kind
- CANCEL - Enum constant in enum class playn.core.Touch.Event.Kind
- Canvas - Class in playn.core
-
A 2D drawing canvas.
- Canvas.Composite - Enum Class in playn.core
-
Values that may be used with
Canvas.setCompositeOperation(Composite)
. - Canvas.Drawable - Interface in playn.core
-
Facilitates drawing images and image regions to a canvas.
- Canvas.LineCap - Enum Class in playn.core
-
Values that may be used with
Canvas.setLineCap(LineCap)
. - Canvas.LineJoin - Enum Class in playn.core
-
Values that may be used with
Canvas.setLineJoin(LineJoin)
. - CAPS_LOCK - Enum constant in enum class playn.core.Key
- CAPTIONS - Enum constant in enum class playn.core.Key
- cause - Variable in class playn.core.Platform.Error
- CENTER - Enum constant in enum class playn.core.TextBlock.Align
- CHANNEL_DOWN - Enum constant in enum class playn.core.Key
- CHANNEL_UP - Enum constant in enum class playn.core.Key
- checkError(String) - Method in class playn.core.GL20
-
Checks for any GL error codes and logs them (if
GL20.checkErrors
is true). - checkErrors - Variable in class playn.core.GL20
- CIRCUMFLEX - Enum constant in enum class playn.core.Key
- clear() - Method in class playn.core.Canvas
-
Clears the entire canvas to
rgba(0, 0, 0, 0)
. - clear() - Method in class playn.core.Surface
-
Clears the entire surface to transparent blackness.
- clear(float, float, float, float) - Method in class playn.core.Surface
-
Clears the entire surface to the specified color.
- CLEAR - Enum constant in enum class playn.core.Key
- clearFlag(int) - Method in class playn.core.Event.Input
-
Clears the
flag
bit. - clearRect(float, float, float, float) - Method in class playn.core.Canvas
-
Clears the specified region to
rgba (0, 0, 0, 0)
. - clip(Path) - Method in class playn.core.Canvas
-
Intersects the current clip with the specified path.
- clipRect(float, float, float, float) - Method in class playn.core.Canvas
-
Intersects the current clip with the supplied rectangle.
- Clock - Class in playn.core
-
Encapsulates an absolute and delta time.
- Clock() - Constructor for class playn.core.Clock
- close() - Method in class playn.core.Canvas
-
Informs the platform that this canvas, and its backing image will no longer be used.
- close() - Method in class playn.core.GLBatch
-
Releases any GPU resources retained by this batch.
- close() - Method in class playn.core.GLProgram
-
Frees this program and associated compiled shaders.
- close() - Method in class playn.core.Image
-
Disposes this image's default texture, if it has been already created.
- close() - Method in interface playn.core.Net.WebSocket
-
Requests that this web socket be closed.
- close() - Method in interface playn.core.Path
-
Closes the path, returning the position to the beginning of the first stroke.
- close() - Method in class playn.core.RenderTarget
-
Deletes the framebuffer associated with this render target.
- close() - Method in class playn.core.Surface
- close() - Method in class playn.core.Texture
-
Deletes this texture's GPU resources and renders it unusable.
- close() - Method in class playn.core.TextureSurface
- close() - Method in class playn.core.TriangleBatch
- close() - Method in class playn.core.UniformQuadBatch
- COLON - Enum constant in enum class playn.core.Key
- Color - Class in playn.core
-
Utility methods for working with packed-integer colors.
- Color() - Constructor for class playn.core.Color
- colors - Variable in class playn.core.Gradient.Config
- combine(int, int) - Static method in class playn.core.Tint
-
Returns the combination of
curTint
andtint
. - combineTint(int) - Method in class playn.core.Surface
-
Combines
tint
with the current tint viaTint.combine(int, int)
. - COMMA - Enum constant in enum class playn.core.Key
- commit() - Method in class playn.core.BatchImpl
- commit() - Method in interface playn.core.Storage.Batch
-
Commits the batch, applying all queued changes.
- concatenate(AffineTransform, float, float) - Method in class playn.core.Surface
-
Concatenates
xf
onto this surface's transform, accounting for theorigin
. - config - Variable in class playn.core.Texture
-
This texture's configuration.
- Config(boolean, boolean, boolean, int, int, boolean) - Constructor for class playn.core.Texture.Config
- containsKey(String) - Method in interface playn.core.Json.Object
-
Returns true if this object contains a value at the specified key, false if not.
- contentType - Variable in class playn.core.Net.Builder
- contentType() - Method in class playn.core.Net.Builder
- CONTROL - Enum constant in enum class playn.core.Key
- create(Boolean...) - Static method in class playn.core.Json.TypedArray.Util
-
Creates a typed array using
data
as its backing data. - create(Double...) - Static method in class playn.core.Json.TypedArray.Util
-
Creates a typed array using
data
as its backing data. - create(Float...) - Static method in class playn.core.Json.TypedArray.Util
-
Creates a typed array using
data
as its backing data. - create(Integer...) - Static method in class playn.core.Json.TypedArray.Util
-
Creates a typed array using
data
as its backing data. - create(String...) - Static method in class playn.core.Json.TypedArray.Util
-
Creates a typed array using
data
as its backing data. - create(Graphics, Texture) - Static method in class playn.core.RenderTarget
-
Creates a render target that renders to
texture
. - create(Json.Array...) - Static method in class playn.core.Json.TypedArray.Util
-
Creates a typed array using
data
as its backing data. - create(Json.Object...) - Static method in class playn.core.Json.TypedArray.Util
-
Creates a typed array using
data
as its backing data. - createArray() - Method in interface playn.core.Json
-
Creates an new, empty
Json.Array
. - createByteBuffer(int) - Method in class playn.core.GL20.Buffers
- createCanvas(float, float) - Method in class playn.core.Graphics
-
Creates a
Canvas
with the specified display unit size. - createCanvas(Scale, int, int) - Method in class playn.core.Graphics
-
Creates a
Canvas
at the specified scale and with the specified (pixel) width and height. - createCanvas(IDimension) - Method in class playn.core.Graphics
- createFloatBuffer(int) - Method in class playn.core.GL20.Buffers
- createGradient(Gradient.Config) - Method in class playn.core.Canvas
-
Creates a gradient fill pattern.
- createGradient(Gradient.Config) - Method in class playn.core.Graphics
-
Creates a
Gradient
fill pattern. - createIntBuffer(int) - Method in class playn.core.GL20.Buffers
- createObject() - Method in interface playn.core.Json
-
Creates an new, empty
Json.Object
. - createPath() - Method in class playn.core.Canvas
-
Creates a path object.
- createPath() - Method in class playn.core.Graphics
-
Creates a
Path
object. - createPattern(boolean, boolean) - Method in class playn.core.Image
-
Creates a pattern from this image which can be used to fill a canvas.
- createShortBuffer(int) - Method in class playn.core.GL20.Buffers
- createTexture(float, float, Texture.Config) - Method in class playn.core.Graphics
-
Creates an empty texture into which one can render.
- createTexture(Texture.Config) - Method in class playn.core.Image
-
Creates a texture with this image's bitmap data using
config
. - createTexture(IDimension, Texture.Config) - Method in class playn.core.Graphics
- createWebSocket(String, Net.WebSocket.Listener) - Method in class playn.core.Net
-
Create a websocket with given URL and listener.
D
- D - Enum constant in enum class playn.core.Key
- Data(Scale, Object, int, int) - Constructor for class playn.core.ImageImpl.Data
- debug(String) - Method in class playn.core.Log
-
Logs
msg
at the debug level. - debug(String, Object...) - Method in class playn.core.Log
-
Logs
msg
at the debug level. - debug(String, Throwable) - Method in class playn.core.Log
-
Logs
msg
ande
at the debug level. - DEBUG - Enum constant in enum class playn.core.Log.Level
- decodeLower(float) - Static method in class playn.core.Color
-
Decodes and returns the lower color value in a two color value encoded by
Color.encode(float, float)
. - decodeUpper(float) - Static method in class playn.core.Color
-
Decodes and returns the upper color value in a two color value encoded by
Color.encode(float, float)
. - Default(Platform) - Constructor for class playn.core.Exec.Default
- DEFAULT - Enum constant in enum class playn.core.Keyboard.TextType
- DEFAULT - Static variable in class playn.core.Texture.Config
-
Default managed texture configuration: managed, no mipmaps, no repat, linear filters.
- defaultRenderTarget - Variable in class playn.core.Graphics
-
The render target for the default framebuffer.
- deferredPromise() - Method in class playn.core.Exec
-
Creates a promise which defers notification of success or failure to the game thread, regardless of what thread on which it is completed.
- DELETE - Enum constant in enum class playn.core.Key
- derive(float) - Method in class playn.core.Font
-
Derives a font with the same name and style as this one, at the specified size.
- descent() - Method in class playn.core.TextLayout
-
The number of pixels from the baseline to the bottom of a line of text.
- deviceOrient - Variable in class playn.core.Graphics
-
The current orientation of the device.
- dispatchEvent(Signal<E>, E) - Method in class playn.core.Platform
-
Dispatches
event
onsignal
and catches any error that propagates out of the event dispatch, reporting it viaPlatform.reportError(java.lang.String, java.lang.Throwable)
. - displayHeight - Variable in class playn.core.Texture
-
The height of this texture in display units.
- displayWidth - Variable in class playn.core.Texture
-
The width of this texture in display units.
- disposed() - Method in class playn.core.Texture
-
Returns whether this texture is been disposed.
- disposeSlot() - Method in class playn.core.Texture
-
Returns a
Slot
that will dispose this texture when triggered. - DOLLAR - Enum constant in enum class playn.core.Key
- DOUBLE_QUOTE - Enum constant in enum class playn.core.Key
- down - Variable in class playn.core.Keyboard.KeyEvent
-
Whether the key is down or up.
- down - Variable in class playn.core.Mouse.ButtonEvent
-
True if the button was just pressed, false if it was just released.
- DOWN - Enum constant in enum class playn.core.Key
- DPAD_CENTER - Enum constant in enum class playn.core.Key
- DPAD_DOWN - Enum constant in enum class playn.core.Key
- DPAD_LEFT - Enum constant in enum class playn.core.Key
- DPAD_RIGHT - Enum constant in enum class playn.core.Key
- DPAD_UP - Enum constant in enum class playn.core.Key
- DRAG - Enum constant in enum class playn.core.Pointer.Event.Kind
- draw(Object, float, float, float, float) - Method in interface playn.core.Canvas.Drawable
- draw(Object, float, float, float, float, float, float, float, float) - Method in interface playn.core.Canvas.Drawable
- draw(Canvas.Drawable, float, float) - Method in class playn.core.Canvas
-
Draws
image
at the specified location(x, y)
. - draw(Canvas.Drawable, float, float, float, float) - Method in class playn.core.Canvas
-
Draws a scaled image at the specified location
(x, y)
size(w x h)
. - draw(Canvas.Drawable, float, float, float, float, float, float, float, float) - Method in class playn.core.Canvas
-
Draws a subregion of a image
(sw x sh) @ (sx, sy)
at the specified size(dw x dh)
and location(dx, dy)
. - draw(Tile, float, float) - Method in class playn.core.Surface
-
Draws a tile at the specified location:
x, y
. - draw(Tile, float, float, float, float) - Method in class playn.core.Surface
-
Draws a tile at the specified location
(x, y)
and size(w x h)
. - draw(Tile, float, float, float, float, float, float, float, float) - Method in class playn.core.Surface
-
Draws a scaled subset of an image (defined by
(sx, sy)
and(w x h)
) at the specified location(dx, dy)
and size(dw x dh)
. - draw(Tile, int, float, float, float, float) - Method in class playn.core.Surface
-
Draws a tile at the specified location
(x, y)
and size(w x h)
, with tinttint
. - draw(Tile, int, float, float, float, float, float, float, float, float) - Method in class playn.core.Surface
-
Draws a scaled subset of an image (defined by
(sx, sy)
and(w x h)
) at the specified location(dx, dy)
and size(dw x dh)
, with tinttint
. - drawArc(float, float, float, float, float) - Method in class playn.core.Canvas
-
Draws an arc of a circle centered at cx, cy, with radius r.
- drawCentered(Canvas.Drawable, float, float) - Method in class playn.core.Canvas
-
Draws
image
centered at the specified location. - drawCentered(Tile, float, float) - Method in class playn.core.Surface
-
Draws a texture tile, centered at the specified location.
- drawLine(float, float, float, float) - Method in class playn.core.Canvas
-
Draws a line between the two specified points.
- drawLine(float, float, float, float, float) - Method in class playn.core.Surface
-
Fills a line between the specified coordinates, of the specified display unit width.
- drawLine(XY, XY, float) - Method in class playn.core.Surface
-
Fills a line between the specified coordinates, of the specified display unit width.
- drawPoint(float, float) - Method in class playn.core.Canvas
-
Draws a single point at the specified location.
- drawText(String, float, float) - Method in class playn.core.Canvas
-
Draws text at the specified location.
- DST_ATOP - Enum constant in enum class playn.core.Canvas.Composite
-
B atop A.
- DST_IN - Enum constant in enum class playn.core.Canvas.Composite
-
B in A.
- DST_OUT - Enum constant in enum class playn.core.Canvas.Composite
-
B out A.
- DST_OVER - Enum constant in enum class playn.core.Canvas.Composite
-
B over A.
- dt - Variable in class playn.core.Clock
-
The number of milliseconds that have elapsed since the last signal.
- DVR - Enum constant in enum class playn.core.Key
- dx - Variable in class playn.core.Mouse.MotionEvent
-
The amount by which the mouse moved on the x axis.
- dy - Variable in class playn.core.Mouse.MotionEvent
-
The amount by which the mouse moved on the y axis.
E
- E - Enum constant in enum class playn.core.Key
- EMAIL - Enum constant in enum class playn.core.Keyboard.TextType
- enabled - Variable in class playn.core.Pointer
-
Allows pointer interaction to be temporarily disabled.
- encode(float, float) - Static method in class playn.core.Color
-
Encodes two [0..1] color values into the format used by the standard shader program.
- end() - Method in class playn.core.GLBatch
-
Must be called when one is done using this batch to accumulate and send drawing commands.
- end() - Method in class playn.core.Surface
-
Completes a series of drawing commands to this surface.
- end() - Method in class playn.core.TexturedBatch
- end() - Method in class playn.core.TriangleBatch
- end() - Method in class playn.core.UniformQuadBatch
- END - Enum constant in enum class playn.core.Key
- END - Enum constant in enum class playn.core.Pointer.Event.Kind
- END - Enum constant in enum class playn.core.Touch.Event.Kind
- ENDCALL - Enum constant in enum class playn.core.Key
- endClipped() - Method in class playn.core.Surface
-
Ends a series of drawing commands that were clipped per a call to
Surface.startClipped(int, int, int, int)
. - ENTER - Enum constant in enum class playn.core.Key
- ENVELOPE - Enum constant in enum class playn.core.Key
- equals(Object) - Method in class playn.core.Font
- equals(Object) - Method in class playn.core.TextFormat
- equals(Object) - Method in class playn.core.TextWrap
- EQUALS - Enum constant in enum class playn.core.Key
- error(String) - Method in class playn.core.Log
-
Logs
msg
at the error level. - error(String, Object...) - Method in class playn.core.Log
-
Logs
msg
at the error level. - error(String, Throwable) - Method in class playn.core.Log
-
Logs
msg
ande
at the error level. - Error(Exception) - Constructor for class playn.core.Sound.Error
- Error(String, Throwable) - Constructor for class playn.core.Platform.Error
- ERROR - Enum constant in enum class playn.core.Log.Level
- errorCode - Variable in exception class playn.core.Net.HttpException
-
The HTTP error code reported by the server.
- errors - Variable in class playn.core.Platform
-
Any errors reported via
Platform.reportError(java.lang.String, java.lang.Throwable)
will be emitted to this signal in addition to being logged. - ESCAPE - Enum constant in enum class playn.core.Key
- Event - Class in playn.core
-
Defines an event abstraction used in various places in PlayN.
- Event() - Constructor for class playn.core.Event
- Event(int, double, float, float, Pointer.Event.Kind, boolean) - Constructor for class playn.core.Pointer.Event
- Event(int, double, float, float, Touch.Event.Kind, int) - Constructor for class playn.core.Touch.Event
- Event(int, double, float, float, Touch.Event.Kind, int, float, float) - Constructor for class playn.core.Touch.Event
- Event.Input - Class in playn.core
-
The base for all input events.
- Event.XY - Class in playn.core
-
The base for all input events with a screen position.
- events - Variable in class playn.core.Pointer
-
A signal which emits pointer events.
- exec() - Method in class playn.core.Platform
-
Returns the
Exec
service. - exec() - Method in class playn.core.StubPlatform
- Exec - Class in playn.core
-
Handles execution of units of code, both on background threads (
Exec.invokeAsync(java.lang.Runnable)
) and on the main PlayN game thread (Exec.invokeLater(java.lang.Runnable)
). - Exec() - Constructor for class playn.core.Exec
- Exec.Default - Class in playn.core
-
A default exec implementation which processes
Exec.Default.invokeLater(java.lang.Runnable)
via the frame tick. - execute() - Method in class playn.core.Net.Builder
-
Executes this request, delivering the response via
callback
. - EXIT - Enum constant in enum class playn.core.Platform.Lifecycle
- EXPLORER - Enum constant in enum class playn.core.Key
F
- F - Enum constant in enum class playn.core.Key
- F_PREVENT_DEFAULT - Static variable in class playn.core.Event
-
A flag indicating that the default OS behavior for an event should be prevented.
- F1 - Enum constant in enum class playn.core.Key
- F10 - Enum constant in enum class playn.core.Key
- F11 - Enum constant in enum class playn.core.Key
- F12 - Enum constant in enum class playn.core.Key
- F2 - Enum constant in enum class playn.core.Key
- F3 - Enum constant in enum class playn.core.Key
- F4 - Enum constant in enum class playn.core.Key
- F5 - Enum constant in enum class playn.core.Key
- F6 - Enum constant in enum class playn.core.Key
- F7 - Enum constant in enum class playn.core.Key
- F8 - Enum constant in enum class playn.core.Key
- F9 - Enum constant in enum class playn.core.Key
- FACE_DOWN - Enum constant in enum class playn.core.Graphics.OrientationDetail
-
Parallel to the ground, face down.
- FACE_UP - Enum constant in enum class playn.core.Graphics.OrientationDetail
-
Parallel to the ground, face up.
- factor - Variable in class playn.core.Scale
-
The scale factor for HiDPI mode, or 1 if HDPI mode is not enabled.
- fail(Throwable) - Method in class playn.core.ImageImpl
-
Notifies this image that its implementation bitmap failed to load.
- fail(Throwable) - Method in class playn.core.SoundImpl
-
Configures this sound with an error in lieu of its platform implementation.
- fill(Canvas, TextBlock.Align, float, float) - Method in class playn.core.TextBlock
-
Fills
lines
intocanvas
at the specified coordinates, using the specified alignment. - fillCircle(float, float, float) - Method in class playn.core.Canvas
-
Fills a circle at the specified center and radius.
- fillPath(Path) - Method in class playn.core.Canvas
-
Fills the specified path.
- fillRect(float, float, float, float) - Method in class playn.core.Canvas
-
Fills the specified rectangle.
- fillRect(float, float, float, float) - Method in class playn.core.Surface
-
Fills the specified rectangle.
- fillRoundRect(float, float, float, float, float) - Method in class playn.core.Canvas
-
Fills the specified rounded rectangle.
- fillText(TextLayout, float, float) - Method in class playn.core.Canvas
-
Fills the text at the specified location.
- flags - Variable in class playn.core.Event.Input
-
The flags set for this event.
- flip() - Method in class playn.core.RenderTarget
-
Whether or not to flip the y-axis when rendering to this target.
- floatBuffer - Variable in class playn.core.GL20.Buffers
- flush() - Method in class playn.core.GLBatch
-
Sends any accumulated drawing calls to the GPU.
- flush() - Method in class playn.core.TriangleBatch
- flush() - Method in class playn.core.UniformQuadBatch
- focus - Variable in class playn.core.Input
-
A signal emitted when the game application gains or loses focus.
- FOCUS - Enum constant in enum class playn.core.Key
- font - Variable in class playn.core.TextFormat
-
The font in which to render the text (null indicates that the default font is used).
- Font - Class in playn.core
-
Contains metadata for a font.
- Font(String, float) - Constructor for class playn.core.Font
-
Creates a font as specified with
Font.Style.PLAIN
.. - Font(String, Font.Style, float) - Constructor for class playn.core.Font
-
Creates a font as specified.
- Font.Style - Enum Class in playn.core
-
The styles that may be requested for a given font.
- format - Variable in class playn.core.TextLayout
-
The
TextFormat
used to lay out this text. - format(StringBuilder, Object...) - Static method in class playn.core.Log
-
Formats the supplied key/value arguments into the supplied string builder as
key=value, key=value, ...
. - FORWARD - Enum constant in enum class playn.core.Key
- FORWARD_DEL - Enum constant in enum class playn.core.Key
- fragment() - Method in class playn.core.TexturedBatch.Source
-
Returns the source of the texture fragment shader program.
- frame - Variable in class playn.core.Platform
-
This signal will be emitted at the start of every frame after the platform is started.
- FUNCTION - Enum constant in enum class playn.core.Key
G
- G - Enum constant in enum class playn.core.Key
- Game - Class in playn.core
-
Defines a simple game API.
- Game(Platform, int) - Constructor for class playn.core.Game
-
Creates a clocked game with the desired simulation update rate, in ms.
- get(int) - Method in interface playn.core.Json.TypedArray
-
Returns the value at the given index, or the default value for
T
if there's a value of a different type at the index. - get(int, T) - Method in interface playn.core.Json.TypedArray
-
Returns the value at the given index, or the specified default value if there's a value of a different type at the index.
- get(String) - Method in class playn.core.Net
-
Performs an HTTP GET request to the specified URL.
- getAlpha(int) - Static method in class playn.core.Tint
-
Returns the alpha component of
tint
as a float between[0, 1]
. - getArray(int) - Method in interface playn.core.Json.Array
-
Gets the array value at the given index, or
null
if there is no value at this index. - getArray(int, Class<T>) - Method in interface playn.core.Json.Array
-
Gets an array at the given index that assumes its values are of the given json type, or
null
if there is no value at this index. - getArray(int, Json.Array) - Method in interface playn.core.Json.Array
-
Gets the array value at the given index, or the default if there is no value at this index.
- getArray(String) - Method in interface playn.core.Json.Object
-
Gets the array value at the given key, or
null
if there is no value at this key. - getArray(String, Class<T>) - Method in interface playn.core.Json.Object
-
Gets an array at the given key that assumes its values are of the given json type, or
null
if there is no value at this key. - getArray(String, Class<T>, Json.TypedArray<T>) - Method in interface playn.core.Json.Object
-
Gets an array at the given key that assumes its values are of the given json type, or the default if there is no value at this key.
- getArray(String, Json.Array) - Method in interface playn.core.Json.Object
-
Gets the array value at the given key, or the default if there is no value at this key.
- getAttribLocation(String) - Method in class playn.core.GLProgram
-
Returns the attribute location with the specified
name
. - getBoolean(int) - Method in interface playn.core.Json.Array
-
Gets the boolean value at the given index, or
false
if there is no value at this index. - getBoolean(int, boolean) - Method in interface playn.core.Json.Array
-
Gets the boolean value at the given index, or the default if there is no value at this index.
- getBoolean(String) - Method in interface playn.core.Json.Object
-
Gets the boolean value at the given key, or
false
if there is no value at this key. - getBoolean(String, boolean) - Method in interface playn.core.Json.Object
-
Gets the boolean value at the given key, or the default if there is no value at this key.
- getBounds(TextLayout[], Rectangle) - Static method in class playn.core.TextBlock
-
Computes the bounds of a block of text.
- getBytes(String) - Method in class playn.core.Assets
-
Loads binary data asynchronously.
- getBytesSync(String) - Method in class playn.core.Assets
-
Loads and returns the raw bytes of the asset - useful for custom binary formatted files.
- getDouble(int) - Method in interface playn.core.Json.Array
-
Gets the double value at the given index, or
0
if there is no value at this index. - getDouble(int, double) - Method in interface playn.core.Json.Array
-
Gets the double value at the given index, or the default if there is no value at this index.
- getDouble(String) - Method in interface playn.core.Json.Object
-
Gets the double value at the given key, or
0
if there is no value at this key. - getDouble(String, double) - Method in interface playn.core.Json.Object
-
Gets the double value at the given key, or the default if there is no value at this key.
- getImage(String) - Method in class playn.core.Assets
-
Asynchronously loads and returns an image.
- getImageSync(String) - Method in class playn.core.Assets
-
Synchronously loads and returns an image.
- getInt(int) - Method in interface playn.core.Json.Array
-
Gets the integer value at the given index, or
0
if there is no value at this index. - getInt(int, int) - Method in interface playn.core.Json.Array
-
Gets the integer value at the given index, or the default if there is no value at this index.
- getInt(String) - Method in interface playn.core.Json.Object
-
Gets the integer value at the given key, or
0
if there is no value at this key. - getInt(String, int) - Method in interface playn.core.Json.Object
-
Gets the integer value at the given key, or the default if there is no value at this key.
- getItem(String) - Method in interface playn.core.Storage
-
Returns the item associated with
key
, or null if no item is associated with it. - getLong(int) - Method in interface playn.core.Json.Array
-
Gets the long value at the given index, or
0
if there is no value at this index. - getLong(int, long) - Method in interface playn.core.Json.Array
-
Gets the long value at the given index, or the default if there is no value at this index.
- getLong(String) - Method in interface playn.core.Json.Object
-
Gets the long value at the given key, or
0
if there is no value at this key. - getLong(String, long) - Method in interface playn.core.Json.Object
-
Gets the long value at the given key, or the default if there is no value at this key.
- getMusic(String) - Method in class playn.core.Assets
-
Asynchronously loads and returns a music resource.
- getNumber(int) - Method in interface playn.core.Json.Array
-
Gets the float value at the given index, or
0
if there is no value at this index. - getNumber(int, float) - Method in interface playn.core.Json.Array
-
Gets the float value at the given index, or the default if there is no value at this index.
- getNumber(String) - Method in interface playn.core.Json.Object
-
Gets the float value at the given key, or
0
if there is no value at this key. - getNumber(String, float) - Method in interface playn.core.Json.Object
-
Gets the float value at the given key, or the default if there is no value at this key.
- getObject(int) - Method in interface playn.core.Json.Array
-
Gets the object value at the given index, or
null
if there is no value at this index. - getObject(int, Json.Object) - Method in interface playn.core.Json.Array
-
Gets the object value at the given index, or the default if there is no value at this index.
- getObject(String) - Method in interface playn.core.Json.Object
-
Gets the object value at the given key, or
null
if there is no value at this key. - getObject(String, Json.Object) - Method in interface playn.core.Json.Object
-
Gets the object value at the given key, or the default if there is no value at this key.
- getPlatformGLExtensions() - Method in class playn.core.GL20
- getRemoteImage(String) - Method in class playn.core.Assets
-
Asynchronously loads and returns the image at the specified URL.
- getRemoteImage(String, int, int) - Method in class playn.core.Assets
-
Asynchronously loads and returns the image at the specified URL.
- getRgb(int, int, int, int, int[], int, int) - Method in class playn.core.Image
-
Extracts pixel data from a rectangular area of this image.
- getScaledResources(String) - Method in class playn.core.Scale
-
Returns an ordered series of scaled resources to try when loading an asset.
- getSound(String) - Method in class playn.core.Assets
-
Asynchronously loads and returns a short sound effect.
- getString(int) - Method in interface playn.core.Json.Array
-
Gets the string value at the given index, or
null
if there is no value at this index. - getString(int, String) - Method in interface playn.core.Json.Array
-
Gets the string value at the given index, or the default if there is no value at this index.
- getString(String) - Method in interface playn.core.Json.Object
-
Gets the string value at the given key, or
null
if there is no value at this key. - getString(String, String) - Method in interface playn.core.Json.Object
-
Gets the string value at the given key, or the default if there is no value at this key.
- getSwapInterval() - Method in class playn.core.GL20
- getText(String) - Method in class playn.core.Assets
-
Loads UTF-8 encoded text asynchronously.
- getText(Keyboard.TextType, String, String) - Method in class playn.core.Input
-
Requests a line of text from the user.
- getText(Keyboard.TextType, String, String, String, String) - Method in class playn.core.Input
-
Requests a line of text from the user.
- getTextSync(String) - Method in class playn.core.Assets
-
Loads and returns a UTF-8 encoded text asset.
- getUniformLocation(String) - Method in class playn.core.GLProgram
-
Returns the uniform location with the specified
name
. - getX(float, float) - Method in enum class playn.core.TextBlock.Align
-
Returns the x offset for a line of text with width
lineWidth
rendered as part of a block of widthblockWidth
. - gfx - Variable in class playn.core.RenderTarget
-
A handle on our graphics services.
- gl - Variable in class playn.core.Graphics
-
Provides access to GL services.
- gl - Variable in class playn.core.TexturedBatch
- GL_ACTIVE_ATTRIBUTE_MAX_LENGTH - Static variable in class playn.core.GL20
- GL_ACTIVE_ATTRIBUTES - Static variable in class playn.core.GL20
- GL_ACTIVE_TEXTURE - Static variable in class playn.core.GL20
- GL_ACTIVE_UNIFORM_MAX_LENGTH - Static variable in class playn.core.GL20
- GL_ACTIVE_UNIFORMS - Static variable in class playn.core.GL20
- GL_ALIASED_LINE_WIDTH_RANGE - Static variable in class playn.core.GL20
- GL_ALIASED_POINT_SIZE_RANGE - Static variable in class playn.core.GL20
- GL_ALPHA - Static variable in class playn.core.GL20
- GL_ALPHA_BITS - Static variable in class playn.core.GL20
- GL_ALWAYS - Static variable in class playn.core.GL20
- GL_ARRAY_BUFFER - Static variable in class playn.core.GL20
- GL_ARRAY_BUFFER_BINDING - Static variable in class playn.core.GL20
- GL_ATTACHED_SHADERS - Static variable in class playn.core.GL20
- GL_BACK - Static variable in class playn.core.GL20
- GL_BGRA - Static variable in class playn.core.GL20
- GL_BLEND - Static variable in class playn.core.GL20
- GL_BLEND_COLOR - Static variable in class playn.core.GL20
- GL_BLEND_DST_ALPHA - Static variable in class playn.core.GL20
- GL_BLEND_DST_RGB - Static variable in class playn.core.GL20
- GL_BLEND_EQUATION - Static variable in class playn.core.GL20
- GL_BLEND_EQUATION_ALPHA - Static variable in class playn.core.GL20
- GL_BLEND_EQUATION_RGB - Static variable in class playn.core.GL20
- GL_BLEND_SRC_ALPHA - Static variable in class playn.core.GL20
- GL_BLEND_SRC_RGB - Static variable in class playn.core.GL20
- GL_BLUE_BITS - Static variable in class playn.core.GL20
- GL_BOOL - Static variable in class playn.core.GL20
- GL_BOOL_VEC2 - Static variable in class playn.core.GL20
- GL_BOOL_VEC3 - Static variable in class playn.core.GL20
- GL_BOOL_VEC4 - Static variable in class playn.core.GL20
- GL_BUFFER_SIZE - Static variable in class playn.core.GL20
- GL_BUFFER_USAGE - Static variable in class playn.core.GL20
- GL_BYTE - Static variable in class playn.core.GL20
- GL_CCW - Static variable in class playn.core.GL20
- GL_CLAMP_TO_EDGE - Static variable in class playn.core.GL20
- GL_COLOR_ATTACHMENT0 - Static variable in class playn.core.GL20
- GL_COLOR_BUFFER_BIT - Static variable in class playn.core.GL20
- GL_COLOR_CLEAR_VALUE - Static variable in class playn.core.GL20
- GL_COLOR_WRITEMASK - Static variable in class playn.core.GL20
- GL_COMPILE_STATUS - Static variable in class playn.core.GL20
- GL_COMPRESSED_TEXTURE_FORMATS - Static variable in class playn.core.GL20
- GL_CONSTANT_ALPHA - Static variable in class playn.core.GL20
- GL_CONSTANT_COLOR - Static variable in class playn.core.GL20
- GL_CULL_FACE - Static variable in class playn.core.GL20
- GL_CULL_FACE_MODE - Static variable in class playn.core.GL20
- GL_CURRENT_PROGRAM - Static variable in class playn.core.GL20
- GL_CURRENT_VERTEX_ATTRIB - Static variable in class playn.core.GL20
- GL_CW - Static variable in class playn.core.GL20
- GL_DECR - Static variable in class playn.core.GL20
- GL_DECR_WRAP - Static variable in class playn.core.GL20
- GL_DELETE_STATUS - Static variable in class playn.core.GL20
- GL_DEPTH_ATTACHMENT - Static variable in class playn.core.GL20
- GL_DEPTH_BITS - Static variable in class playn.core.GL20
- GL_DEPTH_BUFFER_BIT - Static variable in class playn.core.GL20
- GL_DEPTH_CLEAR_VALUE - Static variable in class playn.core.GL20
- GL_DEPTH_COMPONENT - Static variable in class playn.core.GL20
- GL_DEPTH_COMPONENT16 - Static variable in class playn.core.GL20
- GL_DEPTH_FUNC - Static variable in class playn.core.GL20
- GL_DEPTH_RANGE - Static variable in class playn.core.GL20
- GL_DEPTH_TEST - Static variable in class playn.core.GL20
- GL_DEPTH_WRITEMASK - Static variable in class playn.core.GL20
- GL_DITHER - Static variable in class playn.core.GL20
- GL_DONT_CARE - Static variable in class playn.core.GL20
- GL_DST_ALPHA - Static variable in class playn.core.GL20
- GL_DST_COLOR - Static variable in class playn.core.GL20
- GL_DYNAMIC_DRAW - Static variable in class playn.core.GL20
- GL_ELEMENT_ARRAY_BUFFER - Static variable in class playn.core.GL20
- GL_ELEMENT_ARRAY_BUFFER_BINDING - Static variable in class playn.core.GL20
- GL_EQUAL - Static variable in class playn.core.GL20
- GL_EXTENSIONS - Static variable in class playn.core.GL20
- GL_FALSE - Static variable in class playn.core.GL20
- GL_FASTEST - Static variable in class playn.core.GL20
- GL_FIXED - Static variable in class playn.core.GL20
- GL_FLOAT - Static variable in class playn.core.GL20
- GL_FLOAT_MAT2 - Static variable in class playn.core.GL20
- GL_FLOAT_MAT3 - Static variable in class playn.core.GL20
- GL_FLOAT_MAT4 - Static variable in class playn.core.GL20
- GL_FLOAT_VEC2 - Static variable in class playn.core.GL20
- GL_FLOAT_VEC3 - Static variable in class playn.core.GL20
- GL_FLOAT_VEC4 - Static variable in class playn.core.GL20
- GL_FRAGMENT_SHADER - Static variable in class playn.core.GL20
- GL_FRAMEBUFFER - Static variable in class playn.core.GL20
- GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME - Static variable in class playn.core.GL20
- GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE - Static variable in class playn.core.GL20
- GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE - Static variable in class playn.core.GL20
- GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL - Static variable in class playn.core.GL20
- GL_FRAMEBUFFER_BINDING - Static variable in class playn.core.GL20
- GL_FRAMEBUFFER_COMPLETE - Static variable in class playn.core.GL20
- GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT - Static variable in class playn.core.GL20
- GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS - Static variable in class playn.core.GL20
- GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT - Static variable in class playn.core.GL20
- GL_FRAMEBUFFER_UNSUPPORTED - Static variable in class playn.core.GL20
- GL_FRONT - Static variable in class playn.core.GL20
- GL_FRONT_AND_BACK - Static variable in class playn.core.GL20
- GL_FRONT_FACE - Static variable in class playn.core.GL20
- GL_FUNC_ADD - Static variable in class playn.core.GL20
- GL_FUNC_REVERSE_SUBTRACT - Static variable in class playn.core.GL20
- GL_FUNC_SUBTRACT - Static variable in class playn.core.GL20
- GL_GENERATE_MIPMAP_HINT - Static variable in class playn.core.GL20
- GL_GEQUAL - Static variable in class playn.core.GL20
- GL_GREATER - Static variable in class playn.core.GL20
- GL_GREEN_BITS - Static variable in class playn.core.GL20
- GL_HIGH_FLOAT - Static variable in class playn.core.GL20
- GL_HIGH_INT - Static variable in class playn.core.GL20
- GL_IMPLEMENTATION_COLOR_READ_FORMAT - Static variable in class playn.core.GL20
- GL_IMPLEMENTATION_COLOR_READ_TYPE - Static variable in class playn.core.GL20
- GL_INCR - Static variable in class playn.core.GL20
- GL_INCR_WRAP - Static variable in class playn.core.GL20
- GL_INFO_LOG_LENGTH - Static variable in class playn.core.GL20
- GL_INT - Static variable in class playn.core.GL20
- GL_INT_VEC2 - Static variable in class playn.core.GL20
- GL_INT_VEC3 - Static variable in class playn.core.GL20
- GL_INT_VEC4 - Static variable in class playn.core.GL20
- GL_INVALID_ENUM - Static variable in class playn.core.GL20
- GL_INVALID_FRAMEBUFFER_OPERATION - Static variable in class playn.core.GL20
- GL_INVALID_OPERATION - Static variable in class playn.core.GL20
- GL_INVALID_VALUE - Static variable in class playn.core.GL20
- GL_INVERT - Static variable in class playn.core.GL20
- GL_KEEP - Static variable in class playn.core.GL20
- GL_LEQUAL - Static variable in class playn.core.GL20
- GL_LESS - Static variable in class playn.core.GL20
- GL_LINE_LOOP - Static variable in class playn.core.GL20
- GL_LINE_STRIP - Static variable in class playn.core.GL20
- GL_LINE_WIDTH - Static variable in class playn.core.GL20
- GL_LINEAR - Static variable in class playn.core.GL20
- GL_LINEAR_MIPMAP_LINEAR - Static variable in class playn.core.GL20
- GL_LINEAR_MIPMAP_NEAREST - Static variable in class playn.core.GL20
- GL_LINES - Static variable in class playn.core.GL20
- GL_LINK_STATUS - Static variable in class playn.core.GL20
- GL_LOW_FLOAT - Static variable in class playn.core.GL20
- GL_LOW_INT - Static variable in class playn.core.GL20
- GL_LUMINANCE - Static variable in class playn.core.GL20
- GL_LUMINANCE_ALPHA - Static variable in class playn.core.GL20
- GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - Static variable in class playn.core.GL20
- GL_MAX_CUBE_MAP_TEXTURE_SIZE - Static variable in class playn.core.GL20
- GL_MAX_FRAGMENT_UNIFORM_VECTORS - Static variable in class playn.core.GL20
- GL_MAX_RENDERBUFFER_SIZE - Static variable in class playn.core.GL20
- GL_MAX_TEXTURE_IMAGE_UNITS - Static variable in class playn.core.GL20
- GL_MAX_TEXTURE_SIZE - Static variable in class playn.core.GL20
- GL_MAX_VARYING_VECTORS - Static variable in class playn.core.GL20
- GL_MAX_VERTEX_ATTRIBS - Static variable in class playn.core.GL20
- GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS - Static variable in class playn.core.GL20
- GL_MAX_VERTEX_UNIFORM_VECTORS - Static variable in class playn.core.GL20
- GL_MAX_VIEWPORT_DIMS - Static variable in class playn.core.GL20
- GL_MEDIUM_FLOAT - Static variable in class playn.core.GL20
- GL_MEDIUM_INT - Static variable in class playn.core.GL20
- GL_MIRRORED_REPEAT - Static variable in class playn.core.GL20
- GL_NEAREST - Static variable in class playn.core.GL20
- GL_NEAREST_MIPMAP_LINEAR - Static variable in class playn.core.GL20
- GL_NEAREST_MIPMAP_NEAREST - Static variable in class playn.core.GL20
- GL_NEVER - Static variable in class playn.core.GL20
- GL_NICEST - Static variable in class playn.core.GL20
- GL_NO_ERROR - Static variable in class playn.core.GL20
- GL_NONE - Static variable in class playn.core.GL20
- GL_NOTEQUAL - Static variable in class playn.core.GL20
- GL_NUM_COMPRESSED_TEXTURE_FORMATS - Static variable in class playn.core.GL20
- GL_NUM_SHADER_BINARY_FORMATS - Static variable in class playn.core.GL20
- GL_ONE - Static variable in class playn.core.GL20
- GL_ONE_MINUS_CONSTANT_ALPHA - Static variable in class playn.core.GL20
- GL_ONE_MINUS_CONSTANT_COLOR - Static variable in class playn.core.GL20
- GL_ONE_MINUS_DST_ALPHA - Static variable in class playn.core.GL20
- GL_ONE_MINUS_DST_COLOR - Static variable in class playn.core.GL20
- GL_ONE_MINUS_SRC_ALPHA - Static variable in class playn.core.GL20
- GL_ONE_MINUS_SRC_COLOR - Static variable in class playn.core.GL20
- GL_OUT_OF_MEMORY - Static variable in class playn.core.GL20
- GL_PACK_ALIGNMENT - Static variable in class playn.core.GL20
- GL_POINTS - Static variable in class playn.core.GL20
- GL_POLYGON_OFFSET_FACTOR - Static variable in class playn.core.GL20
- GL_POLYGON_OFFSET_FILL - Static variable in class playn.core.GL20
- GL_POLYGON_OFFSET_UNITS - Static variable in class playn.core.GL20
- GL_RED_BITS - Static variable in class playn.core.GL20
- GL_RENDERBUFFER - Static variable in class playn.core.GL20
- GL_RENDERBUFFER_ALPHA_SIZE - Static variable in class playn.core.GL20
- GL_RENDERBUFFER_BINDING - Static variable in class playn.core.GL20
- GL_RENDERBUFFER_BLUE_SIZE - Static variable in class playn.core.GL20
- GL_RENDERBUFFER_DEPTH_SIZE - Static variable in class playn.core.GL20
- GL_RENDERBUFFER_GREEN_SIZE - Static variable in class playn.core.GL20
- GL_RENDERBUFFER_HEIGHT - Static variable in class playn.core.GL20
- GL_RENDERBUFFER_INTERNAL_FORMAT - Static variable in class playn.core.GL20
- GL_RENDERBUFFER_RED_SIZE - Static variable in class playn.core.GL20
- GL_RENDERBUFFER_STENCIL_SIZE - Static variable in class playn.core.GL20
- GL_RENDERBUFFER_WIDTH - Static variable in class playn.core.GL20
- GL_RENDERER - Static variable in class playn.core.GL20
- GL_REPEAT - Static variable in class playn.core.GL20
- GL_REPLACE - Static variable in class playn.core.GL20
- GL_RGB - Static variable in class playn.core.GL20
- GL_RGB5_A1 - Static variable in class playn.core.GL20
- GL_RGB565 - Static variable in class playn.core.GL20
- GL_RGBA - Static variable in class playn.core.GL20
- GL_RGBA4 - Static variable in class playn.core.GL20
- GL_SAMPLE_ALPHA_TO_COVERAGE - Static variable in class playn.core.GL20
- GL_SAMPLE_BUFFERS - Static variable in class playn.core.GL20
- GL_SAMPLE_COVERAGE - Static variable in class playn.core.GL20
- GL_SAMPLE_COVERAGE_INVERT - Static variable in class playn.core.GL20
- GL_SAMPLE_COVERAGE_VALUE - Static variable in class playn.core.GL20
- GL_SAMPLER_2D - Static variable in class playn.core.GL20
- GL_SAMPLER_CUBE - Static variable in class playn.core.GL20
- GL_SAMPLES - Static variable in class playn.core.GL20
- GL_SCISSOR_BOX - Static variable in class playn.core.GL20
- GL_SCISSOR_TEST - Static variable in class playn.core.GL20
- GL_SHADER_BINARY_FORMATS - Static variable in class playn.core.GL20
- GL_SHADER_COMPILER - Static variable in class playn.core.GL20
- GL_SHADER_SOURCE_LENGTH - Static variable in class playn.core.GL20
- GL_SHADER_TYPE - Static variable in class playn.core.GL20
- GL_SHADING_LANGUAGE_VERSION - Static variable in class playn.core.GL20
- GL_SHORT - Static variable in class playn.core.GL20
- GL_SRC_ALPHA - Static variable in class playn.core.GL20
- GL_SRC_ALPHA_SATURATE - Static variable in class playn.core.GL20
- GL_SRC_COLOR - Static variable in class playn.core.GL20
- GL_STATIC_DRAW - Static variable in class playn.core.GL20
- GL_STENCIL_ATTACHMENT - Static variable in class playn.core.GL20
- GL_STENCIL_BACK_FAIL - Static variable in class playn.core.GL20
- GL_STENCIL_BACK_FUNC - Static variable in class playn.core.GL20
- GL_STENCIL_BACK_PASS_DEPTH_FAIL - Static variable in class playn.core.GL20
- GL_STENCIL_BACK_PASS_DEPTH_PASS - Static variable in class playn.core.GL20
- GL_STENCIL_BACK_REF - Static variable in class playn.core.GL20
- GL_STENCIL_BACK_VALUE_MASK - Static variable in class playn.core.GL20
- GL_STENCIL_BACK_WRITEMASK - Static variable in class playn.core.GL20
- GL_STENCIL_BITS - Static variable in class playn.core.GL20
- GL_STENCIL_BUFFER_BIT - Static variable in class playn.core.GL20
- GL_STENCIL_CLEAR_VALUE - Static variable in class playn.core.GL20
- GL_STENCIL_FAIL - Static variable in class playn.core.GL20
- GL_STENCIL_FUNC - Static variable in class playn.core.GL20
- GL_STENCIL_INDEX - Static variable in class playn.core.GL20
- GL_STENCIL_INDEX8 - Static variable in class playn.core.GL20
- GL_STENCIL_PASS_DEPTH_FAIL - Static variable in class playn.core.GL20
- GL_STENCIL_PASS_DEPTH_PASS - Static variable in class playn.core.GL20
- GL_STENCIL_REF - Static variable in class playn.core.GL20
- GL_STENCIL_TEST - Static variable in class playn.core.GL20
- GL_STENCIL_VALUE_MASK - Static variable in class playn.core.GL20
- GL_STENCIL_WRITEMASK - Static variable in class playn.core.GL20
- GL_STREAM_DRAW - Static variable in class playn.core.GL20
- GL_SUBPIXEL_BITS - Static variable in class playn.core.GL20
- GL_TEXTURE - Static variable in class playn.core.GL20
- GL_TEXTURE_2D - Static variable in class playn.core.GL20
- GL_TEXTURE_BINDING_2D - Static variable in class playn.core.GL20
- GL_TEXTURE_BINDING_CUBE_MAP - Static variable in class playn.core.GL20
- GL_TEXTURE_CUBE_MAP - Static variable in class playn.core.GL20
- GL_TEXTURE_CUBE_MAP_NEGATIVE_X - Static variable in class playn.core.GL20
- GL_TEXTURE_CUBE_MAP_NEGATIVE_Y - Static variable in class playn.core.GL20
- GL_TEXTURE_CUBE_MAP_NEGATIVE_Z - Static variable in class playn.core.GL20
- GL_TEXTURE_CUBE_MAP_POSITIVE_X - Static variable in class playn.core.GL20
- GL_TEXTURE_CUBE_MAP_POSITIVE_Y - Static variable in class playn.core.GL20
- GL_TEXTURE_CUBE_MAP_POSITIVE_Z - Static variable in class playn.core.GL20
- GL_TEXTURE_MAG_FILTER - Static variable in class playn.core.GL20
- GL_TEXTURE_MIN_FILTER - Static variable in class playn.core.GL20
- GL_TEXTURE_WRAP_S - Static variable in class playn.core.GL20
- GL_TEXTURE_WRAP_T - Static variable in class playn.core.GL20
- GL_TEXTURE0 - Static variable in class playn.core.GL20
- GL_TEXTURE1 - Static variable in class playn.core.GL20
- GL_TEXTURE10 - Static variable in class playn.core.GL20
- GL_TEXTURE11 - Static variable in class playn.core.GL20
- GL_TEXTURE12 - Static variable in class playn.core.GL20
- GL_TEXTURE13 - Static variable in class playn.core.GL20
- GL_TEXTURE14 - Static variable in class playn.core.GL20
- GL_TEXTURE15 - Static variable in class playn.core.GL20
- GL_TEXTURE16 - Static variable in class playn.core.GL20
- GL_TEXTURE17 - Static variable in class playn.core.GL20
- GL_TEXTURE18 - Static variable in class playn.core.GL20
- GL_TEXTURE19 - Static variable in class playn.core.GL20
- GL_TEXTURE2 - Static variable in class playn.core.GL20
- GL_TEXTURE20 - Static variable in class playn.core.GL20
- GL_TEXTURE21 - Static variable in class playn.core.GL20
- GL_TEXTURE22 - Static variable in class playn.core.GL20
- GL_TEXTURE23 - Static variable in class playn.core.GL20
- GL_TEXTURE24 - Static variable in class playn.core.GL20
- GL_TEXTURE25 - Static variable in class playn.core.GL20
- GL_TEXTURE26 - Static variable in class playn.core.GL20
- GL_TEXTURE27 - Static variable in class playn.core.GL20
- GL_TEXTURE28 - Static variable in class playn.core.GL20
- GL_TEXTURE29 - Static variable in class playn.core.GL20
- GL_TEXTURE3 - Static variable in class playn.core.GL20
- GL_TEXTURE30 - Static variable in class playn.core.GL20
- GL_TEXTURE31 - Static variable in class playn.core.GL20
- GL_TEXTURE4 - Static variable in class playn.core.GL20
- GL_TEXTURE5 - Static variable in class playn.core.GL20
- GL_TEXTURE6 - Static variable in class playn.core.GL20
- GL_TEXTURE7 - Static variable in class playn.core.GL20
- GL_TEXTURE8 - Static variable in class playn.core.GL20
- GL_TEXTURE9 - Static variable in class playn.core.GL20
- GL_TRIANGLE_FAN - Static variable in class playn.core.GL20
- GL_TRIANGLE_STRIP - Static variable in class playn.core.GL20
- GL_TRIANGLES - Static variable in class playn.core.GL20
- GL_TRUE - Static variable in class playn.core.GL20
- GL_UNPACK_ALIGNMENT - Static variable in class playn.core.GL20
- GL_UNSIGNED_BYTE - Static variable in class playn.core.GL20
- GL_UNSIGNED_INT - Static variable in class playn.core.GL20
- GL_UNSIGNED_INT_8_8_8_8 - Static variable in class playn.core.GL20
- GL_UNSIGNED_INT_8_8_8_8_REV - Static variable in class playn.core.GL20
- GL_UNSIGNED_SHORT - Static variable in class playn.core.GL20
- GL_UNSIGNED_SHORT_4_4_4_4 - Static variable in class playn.core.GL20
- GL_UNSIGNED_SHORT_5_5_5_1 - Static variable in class playn.core.GL20
- GL_UNSIGNED_SHORT_5_6_5 - Static variable in class playn.core.GL20
- GL_VALIDATE_STATUS - Static variable in class playn.core.GL20
- GL_VENDOR - Static variable in class playn.core.GL20
- GL_VERSION - Static variable in class playn.core.GL20
- GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING - Static variable in class playn.core.GL20
- GL_VERTEX_ATTRIB_ARRAY_ENABLED - Static variable in class playn.core.GL20
- GL_VERTEX_ATTRIB_ARRAY_NORMALIZED - Static variable in class playn.core.GL20
- GL_VERTEX_ATTRIB_ARRAY_POINTER - Static variable in class playn.core.GL20
- GL_VERTEX_ATTRIB_ARRAY_SIZE - Static variable in class playn.core.GL20
- GL_VERTEX_ATTRIB_ARRAY_STRIDE - Static variable in class playn.core.GL20
- GL_VERTEX_ATTRIB_ARRAY_TYPE - Static variable in class playn.core.GL20
- GL_VERTEX_SHADER - Static variable in class playn.core.GL20
- GL_VIEWPORT - Static variable in class playn.core.GL20
- GL_ZERO - Static variable in class playn.core.GL20
- GL20 - Class in playn.core
-
Interface and values for OpenGL ES 2.0, based on the official JOGL GL2ES2 interface.
- GL20.Buffers - Class in playn.core
-
A helper class for bridging between Java arrays and buffers when implementing
GL20
. - glActiveTexture(int) - Method in class playn.core.GL20
- glAttachShader(int, int) - Method in class playn.core.GL20
- GLBatch - Class in playn.core
-
A batch manages the delivery of groups of drawing calls to the GPU.
- GLBatch() - Constructor for class playn.core.GLBatch
- glBindAttribLocation(int, int, String) - Method in class playn.core.GL20
- glBindBuffer(int, int) - Method in class playn.core.GL20
- glBindFramebuffer(int, int) - Method in class playn.core.GL20
- glBindRenderbuffer(int, int) - Method in class playn.core.GL20
- glBindTexture(int, int) - Method in class playn.core.GL20
- glBlendColor(float, float, float, float) - Method in class playn.core.GL20
- glBlendEquation(int) - Method in class playn.core.GL20
- glBlendEquationSeparate(int, int) - Method in class playn.core.GL20
- glBlendFunc(int, int) - Method in class playn.core.GL20
- glBlendFuncSeparate(int, int, int, int) - Method in class playn.core.GL20
- glBufferData(int, int, Buffer, int) - Method in class playn.core.GL20
- glBufferSubData(int, int, int, Buffer) - Method in class playn.core.GL20
- glCheckFramebufferStatus(int) - Method in class playn.core.GL20
- glClear(int) - Method in class playn.core.GL20
- glClearColor(float, float, float, float) - Method in class playn.core.GL20
- glClearDepth(double) - Method in class playn.core.GL20
- glClearDepthf(float) - Method in class playn.core.GL20
- glClearStencil(int) - Method in class playn.core.GL20
- glColorMask(boolean, boolean, boolean, boolean) - Method in class playn.core.GL20
- glCompileShader(int) - Method in class playn.core.GL20
- glCompressedTexImage2D(int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
- glCompressedTexImage2D(int, int, int, int, int, int, int, Buffer) - Method in class playn.core.GL20
- glCompressedTexImage3D(int, int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
- glCompressedTexImage3D(int, int, int, int, int, int, int, int, Buffer) - Method in class playn.core.GL20
- glCompressedTexSubImage2D(int, int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
- glCompressedTexSubImage2D(int, int, int, int, int, int, int, int, Buffer) - Method in class playn.core.GL20
- glCompressedTexSubImage3D(int, int, int, int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
- glCompressedTexSubImage3D(int, int, int, int, int, int, int, int, int, int, Buffer) - Method in class playn.core.GL20
- glCopyTexImage2D(int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
- glCopyTexSubImage2D(int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
- glCopyTexSubImage3D(int, int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
- glCreateProgram() - Method in class playn.core.GL20
- glCreateShader(int) - Method in class playn.core.GL20
- glCullFace(int) - Method in class playn.core.GL20
- glDeleteBuffer(int) - Method in class playn.core.GL20
- glDeleteBuffers(int, int[], int) - Method in class playn.core.GL20
- glDeleteBuffers(int, IntBuffer) - Method in class playn.core.GL20
- glDeleteFramebuffer(int) - Method in class playn.core.GL20
- glDeleteFramebuffers(int, int[], int) - Method in class playn.core.GL20
- glDeleteFramebuffers(int, IntBuffer) - Method in class playn.core.GL20
- glDeleteProgram(int) - Method in class playn.core.GL20
- glDeleteRenderbuffer(int) - Method in class playn.core.GL20
- glDeleteRenderbuffers(int, int[], int) - Method in class playn.core.GL20
- glDeleteRenderbuffers(int, IntBuffer) - Method in class playn.core.GL20
- glDeleteShader(int) - Method in class playn.core.GL20
- glDeleteTexture(int) - Method in class playn.core.GL20
- glDeleteTextures(int, int[], int) - Method in class playn.core.GL20
- glDeleteTextures(int, IntBuffer) - Method in class playn.core.GL20
- glDepthFunc(int) - Method in class playn.core.GL20
- glDepthMask(boolean) - Method in class playn.core.GL20
- glDepthRange(double, double) - Method in class playn.core.GL20
- glDepthRangef(float, float) - Method in class playn.core.GL20
- glDetachShader(int, int) - Method in class playn.core.GL20
- glDisable(int) - Method in class playn.core.GL20
- glDisableVertexAttribArray(int) - Method in class playn.core.GL20
- glDrawArrays(int, int, int) - Method in class playn.core.GL20
- glDrawElements(int, int, int, int) - Method in class playn.core.GL20
- glDrawElements(int, int, int, Buffer) - Method in class playn.core.GL20
- glEnable(int) - Method in class playn.core.GL20
- glEnableVertexAttribArray(int) - Method in class playn.core.GL20
- glFinish() - Method in class playn.core.GL20
- glFlush() - Method in class playn.core.GL20
- glFramebufferRenderbuffer(int, int, int, int) - Method in class playn.core.GL20
- glFramebufferTexture2D(int, int, int, int, int) - Method in class playn.core.GL20
- glFramebufferTexture3D(int, int, int, int, int, int) - Method in class playn.core.GL20
- glFrontFace(int) - Method in class playn.core.GL20
- glGenBuffer() - Method in class playn.core.GL20
- glGenBuffers(int, int[], int) - Method in class playn.core.GL20
- glGenBuffers(int, IntBuffer) - Method in class playn.core.GL20
- glGenerateMipmap(int) - Method in class playn.core.GL20
- glGenFramebuffer() - Method in class playn.core.GL20
- glGenFramebuffers(int, int[], int) - Method in class playn.core.GL20
- glGenFramebuffers(int, IntBuffer) - Method in class playn.core.GL20
- glGenRenderbuffer() - Method in class playn.core.GL20
- glGenRenderbuffers(int, int[], int) - Method in class playn.core.GL20
- glGenRenderbuffers(int, IntBuffer) - Method in class playn.core.GL20
- glGenTexture() - Method in class playn.core.GL20
- glGenTextures(int, int[], int) - Method in class playn.core.GL20
- glGenTextures(int, IntBuffer) - Method in class playn.core.GL20
- glGetActiveAttrib(int, int, IntBuffer, IntBuffer) - Method in class playn.core.GL20
- glGetActiveUniform(int, int, IntBuffer, IntBuffer) - Method in class playn.core.GL20
- glGetAttachedShaders(int, int, int[], int, int[], int) - Method in class playn.core.GL20
- glGetAttachedShaders(int, int, IntBuffer, IntBuffer) - Method in class playn.core.GL20
- glGetAttribLocation(int, String) - Method in class playn.core.GL20
- glGetBoolean(int) - Method in class playn.core.GL20
- glGetBooleanv(int, byte[], int) - Method in class playn.core.GL20
- glGetBooleanv(int, ByteBuffer) - Method in class playn.core.GL20
- glGetBoundBuffer(int) - Method in class playn.core.GL20
- glGetBufferParameteriv(int, int, int[], int) - Method in class playn.core.GL20
- glGetBufferParameteriv(int, int, IntBuffer) - Method in class playn.core.GL20
- glGetError() - Method in class playn.core.GL20
- glGetFloat(int) - Method in class playn.core.GL20
- glGetFloatv(int, float[], int) - Method in class playn.core.GL20
- glGetFloatv(int, FloatBuffer) - Method in class playn.core.GL20
- glGetFramebufferAttachmentParameteriv(int, int, int, int[], int) - Method in class playn.core.GL20
- glGetFramebufferAttachmentParameteriv(int, int, int, IntBuffer) - Method in class playn.core.GL20
- glGetInteger(int) - Method in class playn.core.GL20
- glGetIntegerv(int, int[], int) - Method in class playn.core.GL20
- glGetIntegerv(int, IntBuffer) - Method in class playn.core.GL20
- glGetProgramBinary(int, int, int[], int, int[], int, Buffer) - Method in class playn.core.GL20
- glGetProgramBinary(int, int, IntBuffer, IntBuffer, Buffer) - Method in class playn.core.GL20
- glGetProgramInfoLog(int) - Method in class playn.core.GL20
- glGetProgramInfoLog(int, int, int[], int, byte[], int) - Method in class playn.core.GL20
- glGetProgramInfoLog(int, int, IntBuffer, ByteBuffer) - Method in class playn.core.GL20
- glGetProgramiv(int, int, int[], int) - Method in class playn.core.GL20
- glGetProgramiv(int, int, IntBuffer) - Method in class playn.core.GL20
- glGetRenderbufferParameteriv(int, int, int[], int) - Method in class playn.core.GL20
- glGetRenderbufferParameteriv(int, int, IntBuffer) - Method in class playn.core.GL20
- glGetShaderInfoLog(int) - Method in class playn.core.GL20
- glGetShaderInfoLog(int, int, int[], int, byte[], int) - Method in class playn.core.GL20
- glGetShaderInfoLog(int, int, IntBuffer, ByteBuffer) - Method in class playn.core.GL20
- glGetShaderiv(int, int, int[], int) - Method in class playn.core.GL20
- glGetShaderiv(int, int, IntBuffer) - Method in class playn.core.GL20
- glGetShaderPrecisionFormat(int, int, int[], int, int[], int) - Method in class playn.core.GL20
- glGetShaderPrecisionFormat(int, int, IntBuffer, IntBuffer) - Method in class playn.core.GL20
- glGetShaderSource(int, int, int[], int, byte[], int) - Method in class playn.core.GL20
- glGetShaderSource(int, int, IntBuffer, ByteBuffer) - Method in class playn.core.GL20
- glGetString(int) - Method in class playn.core.GL20
- glGetTexParameterfv(int, int, float[], int) - Method in class playn.core.GL20
- glGetTexParameterfv(int, int, FloatBuffer) - Method in class playn.core.GL20
- glGetTexParameteriv(int, int, int[], int) - Method in class playn.core.GL20
- glGetTexParameteriv(int, int, IntBuffer) - Method in class playn.core.GL20
- glGetUniformfv(int, int, float[], int) - Method in class playn.core.GL20
- glGetUniformfv(int, int, FloatBuffer) - Method in class playn.core.GL20
- glGetUniformiv(int, int, int[], int) - Method in class playn.core.GL20
- glGetUniformiv(int, int, IntBuffer) - Method in class playn.core.GL20
- glGetUniformLocation(int, String) - Method in class playn.core.GL20
- glGetVertexAttribfv(int, int, float[], int) - Method in class playn.core.GL20
- glGetVertexAttribfv(int, int, FloatBuffer) - Method in class playn.core.GL20
- glGetVertexAttribiv(int, int, int[], int) - Method in class playn.core.GL20
- glGetVertexAttribiv(int, int, IntBuffer) - Method in class playn.core.GL20
- glHint(int, int) - Method in class playn.core.GL20
- glIsBuffer(int) - Method in class playn.core.GL20
- glIsEnabled(int) - Method in class playn.core.GL20
- glIsFramebuffer(int) - Method in class playn.core.GL20
- glIsProgram(int) - Method in class playn.core.GL20
- glIsRenderbuffer(int) - Method in class playn.core.GL20
- glIsShader(int) - Method in class playn.core.GL20
- glIsTexture(int) - Method in class playn.core.GL20
- glIsVBOArrayEnabled() - Method in class playn.core.GL20
- glIsVBOElementEnabled() - Method in class playn.core.GL20
- glLineWidth(float) - Method in class playn.core.GL20
- glLinkProgram(int) - Method in class playn.core.GL20
- glMapBuffer(int, int) - Method in class playn.core.GL20
- glPixelStorei(int, int) - Method in class playn.core.GL20
- glPolygonOffset(float, float) - Method in class playn.core.GL20
- GLProgram - Class in playn.core
-
Encapsulates a GL vertex and fragment shader program pair.
- GLProgram(GL20, String, String) - Constructor for class playn.core.GLProgram
-
Compiles and links the shader program described by
vertexSource
andfragmentSource
. - glProgramBinary(int, int, Buffer, int) - Method in class playn.core.GL20
- glReadPixels(int, int, int, int, int, int, int) - Method in class playn.core.GL20
- glReadPixels(int, int, int, int, int, int, Buffer) - Method in class playn.core.GL20
- glReleaseShaderCompiler() - Method in class playn.core.GL20
- glRenderbufferStorage(int, int, int, int) - Method in class playn.core.GL20
- glSampleCoverage(float, boolean) - Method in class playn.core.GL20
- glScissor(int, int, int, int) - Method in class playn.core.GL20
- glShaderBinary(int, int[], int, int, Buffer, int) - Method in class playn.core.GL20
- glShaderBinary(int, IntBuffer, int, Buffer, int) - Method in class playn.core.GL20
- glShaderSource(int, int, String[], int[], int) - Method in class playn.core.GL20
- glShaderSource(int, int, String[], IntBuffer) - Method in class playn.core.GL20
- glShaderSource(int, String) - Method in class playn.core.GL20
- glStencilFunc(int, int, int) - Method in class playn.core.GL20
- glStencilFuncSeparate(int, int, int, int) - Method in class playn.core.GL20
- glStencilMask(int) - Method in class playn.core.GL20
- glStencilMaskSeparate(int, int) - Method in class playn.core.GL20
- glStencilOp(int, int, int) - Method in class playn.core.GL20
- glStencilOpSeparate(int, int, int, int) - Method in class playn.core.GL20
- glTexImage2D(int, int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
- glTexImage2D(int, int, int, int, int, int, int, int, Buffer) - Method in class playn.core.GL20
- glTexImage3D(int, int, int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
- glTexImage3D(int, int, int, int, int, int, int, int, int, Buffer) - Method in class playn.core.GL20
- glTexParameterf(int, int, float) - Method in class playn.core.GL20
- glTexParameterfv(int, int, float[], int) - Method in class playn.core.GL20
- glTexParameterfv(int, int, FloatBuffer) - Method in class playn.core.GL20
- glTexParameteri(int, int, int) - Method in class playn.core.GL20
- glTexParameteriv(int, int, int[], int) - Method in class playn.core.GL20
- glTexParameteriv(int, int, IntBuffer) - Method in class playn.core.GL20
- glTexSubImage2D(int, int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
- glTexSubImage2D(int, int, int, int, int, int, int, int, Buffer) - Method in class playn.core.GL20
- glTexSubImage3D(int, int, int, int, int, int, int, int, int, int, int) - Method in class playn.core.GL20
- glTexSubImage3D(int, int, int, int, int, int, int, int, int, int, Buffer) - Method in class playn.core.GL20
- glUniform1f(int, float) - Method in class playn.core.GL20
- glUniform1fv(int, int, float[], int) - Method in class playn.core.GL20
- glUniform1fv(int, int, FloatBuffer) - Method in class playn.core.GL20
- glUniform1i(int, int) - Method in class playn.core.GL20
- glUniform1iv(int, int, int[], int) - Method in class playn.core.GL20
- glUniform1iv(int, int, IntBuffer) - Method in class playn.core.GL20
- glUniform2f(int, float, float) - Method in class playn.core.GL20
- glUniform2fv(int, int, float[], int) - Method in class playn.core.GL20
- glUniform2fv(int, int, FloatBuffer) - Method in class playn.core.GL20
- glUniform2i(int, int, int) - Method in class playn.core.GL20
- glUniform2iv(int, int, int[], int) - Method in class playn.core.GL20
- glUniform2iv(int, int, IntBuffer) - Method in class playn.core.GL20
- glUniform3f(int, float, float, float) - Method in class playn.core.GL20
- glUniform3fv(int, int, float[], int) - Method in class playn.core.GL20
- glUniform3fv(int, int, FloatBuffer) - Method in class playn.core.GL20
- glUniform3i(int, int, int, int) - Method in class playn.core.GL20
- glUniform3iv(int, int, int[], int) - Method in class playn.core.GL20
- glUniform3iv(int, int, IntBuffer) - Method in class playn.core.GL20
- glUniform4f(int, float, float, float, float) - Method in class playn.core.GL20
- glUniform4fv(int, int, float[], int) - Method in class playn.core.GL20
- glUniform4fv(int, int, FloatBuffer) - Method in class playn.core.GL20
- glUniform4i(int, int, int, int, int) - Method in class playn.core.GL20
- glUniform4iv(int, int, int[], int) - Method in class playn.core.GL20
- glUniform4iv(int, int, IntBuffer) - Method in class playn.core.GL20
- glUniformMatrix2fv(int, int, boolean, float[], int) - Method in class playn.core.GL20
- glUniformMatrix2fv(int, int, boolean, FloatBuffer) - Method in class playn.core.GL20
- glUniformMatrix3fv(int, int, boolean, float[], int) - Method in class playn.core.GL20
- glUniformMatrix3fv(int, int, boolean, FloatBuffer) - Method in class playn.core.GL20
- glUniformMatrix4fv(int, int, boolean, float[], int) - Method in class playn.core.GL20
- glUniformMatrix4fv(int, int, boolean, FloatBuffer) - Method in class playn.core.GL20
- glUnmapBuffer(int) - Method in class playn.core.GL20
- glUseProgram(int) - Method in class playn.core.GL20
- GLUtil - Class in playn.core
- GLUtil() - Constructor for class playn.core.GLUtil
- glValidateProgram(int) - Method in class playn.core.GL20
- glVertexAttrib1f(int, float) - Method in class playn.core.GL20
- glVertexAttrib1fv(int, float[], int) - Method in class playn.core.GL20
- glVertexAttrib1fv(int, FloatBuffer) - Method in class playn.core.GL20
- glVertexAttrib2f(int, float, float) - Method in class playn.core.GL20
- glVertexAttrib2fv(int, float[], int) - Method in class playn.core.GL20
- glVertexAttrib2fv(int, FloatBuffer) - Method in class playn.core.GL20
- glVertexAttrib3f(int, float, float, float) - Method in class playn.core.GL20
- glVertexAttrib3fv(int, float[], int) - Method in class playn.core.GL20
- glVertexAttrib3fv(int, FloatBuffer) - Method in class playn.core.GL20
- glVertexAttrib4f(int, float, float, float, float) - Method in class playn.core.GL20
- glVertexAttrib4fv(int, float[], int) - Method in class playn.core.GL20
- glVertexAttrib4fv(int, FloatBuffer) - Method in class playn.core.GL20
- glVertexAttribPointer(int, int, int, boolean, int, int) - Method in class playn.core.GL20
- glVertexAttribPointer(int, int, int, boolean, int, Buffer) - Method in class playn.core.GL20
- glViewport(int, int, int, int) - Method in class playn.core.GL20
- Gradient - Class in playn.core
-
A gradient fill pattern created by
Canvas.createGradient(playn.core.Gradient.Config)
. - Gradient() - Constructor for class playn.core.Gradient
- Gradient.Config - Class in playn.core
-
Used to create gradients.
- Gradient.Linear - Class in playn.core
-
Creates a linear gradient fill pattern.
- Gradient.Radial - Class in playn.core
-
Creates a radial gradient fill pattern.
- graphics() - Method in class playn.core.Platform
-
Returns the
Graphics
service. - graphics() - Method in class playn.core.StubPlatform
- Graphics - Class in playn.core
-
Provides access to graphics information and services.
- Graphics.Orientation - Enum Class in playn.core
-
Enumerates simplified device orientations.
- Graphics.OrientationDetail - Enum Class in playn.core
-
Enumerates detailed device orientations.
- GREATER - Enum constant in enum class playn.core.Key
- green(int) - Static method in class playn.core.Color
-
Extracts the green component, in range [0, 255], from the given packed color.
- GREEN - Enum constant in enum class playn.core.Key
- GUIDE - Enum constant in enum class playn.core.Key
H
- H - Enum constant in enum class playn.core.Key
- hasGLSL() - Method in class playn.core.GL20
- HASH - Enum constant in enum class playn.core.Key
- hasHardwareKeyboard() - Method in class playn.core.Input
-
Returns true if this device has a hardware keyboard, false if not.
- hashCode() - Method in class playn.core.Font
- hashCode() - Method in class playn.core.TextFormat
- hashCode() - Method in class playn.core.TextWrap
- hasMouse() - Method in class playn.core.Input
-
Returns true if this platform has mouse input.
- hasMouseLock() - Method in class playn.core.Input
-
Returns true if this platform supports mouse locking.
- hasTouch() - Method in class playn.core.Input
-
Returns true if this platform has touch input.
- header(String) - Method in class playn.core.Net.Response
-
Returns the value of the header with the specified name, or null.
- Header(String, String) - Constructor for class playn.core.Net.Header
- headerNames() - Method in class playn.core.Net.Response
-
Returns the names of all headers returned by the server.
- headers - Variable in class playn.core.Net.Builder
- headers(String) - Method in class playn.core.Net.Response
-
Returns the value of all headers with the specified name, or the empty list.
- HEADSETHOOK - Enum constant in enum class playn.core.Key
- height - Variable in class playn.core.Canvas
-
The height of this canvas.
- height() - Method in interface playn.core.Canvas.Drawable
- height() - Method in class playn.core.Image
-
This image's height in display units.
- height() - Method in class playn.core.RenderTarget
-
The height of the framebuffer in pixels.
- height() - Method in class playn.core.Texture
- height() - Method in class playn.core.Tile
-
The height of this tile (in display units).
- HOME - Enum constant in enum class playn.core.Key
- HTML - Enum constant in enum class playn.core.Platform.Type
- HttpException(int, String) - Constructor for exception class playn.core.Net.HttpException
I
- I - Enum constant in enum class playn.core.Key
- id - Variable in class playn.core.GLProgram
-
The GL id of this shader program.
- id - Variable in class playn.core.Texture
-
The GL texture handle.
- id - Variable in class playn.core.Touch.Event
-
The id of the touch associated with this event.
- id() - Method in class playn.core.RenderTarget
-
The framebuffer id.
- image - Variable in class playn.core.Canvas
-
The image that underlies this canvas.
- Image - Class in playn.core
-
Bitmapped image data.
- Image.BitmapTransformer - Interface in playn.core
- Image.Region - Class in playn.core
- ImageImpl - Class in playn.core
-
An implementation detail.
- ImageImpl.Data - Class in playn.core
-
Used to provide bitmap data to the abstract image once it's ready.
- indent - Variable in class playn.core.TextWrap
-
An indent applied to the first line of text.
- info(String) - Method in class playn.core.Log
-
Logs
msg
at the info level. - info(String, Object...) - Method in class playn.core.Log
-
Logs
msg
at the info level. - info(String, Throwable) - Method in class playn.core.Log
-
Logs
msg
ande
at the info level. - INFO - Enum constant in enum class playn.core.Key
- INFO - Enum constant in enum class playn.core.Log.Level
- input() - Method in class playn.core.Platform
-
Returns the
Input
service. - input() - Method in class playn.core.StubPlatform
- Input - Class in playn.core
-
Provides information about user input: mouse, touch, and keyboard.
- INSERT - Enum constant in enum class playn.core.Key
- intBuffer - Variable in class playn.core.GL20.Buffers
- intersects(float, float, float, float) - Method in class playn.core.Surface
-
Returns whether the given rectangle intersects the render target area of this surface.
- invokeAsync(Runnable) - Method in class playn.core.Exec
-
Invokes the supplied action on a separate thread.
- invokeAsync(Runnable) - Method in class playn.core.Platform
-
Deprecated.
- invokeLater(Runnable) - Method in class playn.core.Exec.Default
- invokeLater(Runnable) - Method in class playn.core.Exec
-
Invokes
action
on the nextPlatform.frame
signal or, if the game is paused, on the OS UI thread. - invokeLater(Runnable) - Method in class playn.core.Platform
-
Deprecated.
- invokeNextFrame(Runnable) - Method in class playn.core.Exec.Default
- invokeNextFrame(Runnable) - Method in class playn.core.Exec
-
Invokes
action
on the nextPlatform.frame
signal. - invScaled(float) - Method in class playn.core.Scale
-
Returns the supplied length inverse scaled by our scale factor.
- invScaledCeil(float) - Method in class playn.core.Scale
-
Returns the supplied length inverse scaled by our scale factor and rounded up.
- invScaledFloor(float) - Method in class playn.core.Scale
-
Returns the supplied length inverse scaled by our scale factor and rounded down.
- IOS - Enum constant in enum class playn.core.Platform.Type
- isAltDown() - Method in class playn.core.Event.Input
-
Returns true if the
alt
key was down when this event was generated. - isArray(int) - Method in interface playn.core.Json.Array
-
Returns
true
if the value at the given index is an array. - isArray(Object) - Method in interface playn.core.Json
-
Determines if the given object is a JSON
Json.Array
. - isArray(String) - Method in interface playn.core.Json.Object
-
Returns
true
if the value at the given key is an array. - isAsyncSupported() - Method in class playn.core.Exec
-
Returns whether this platform supports async (background) operations.
- isAsyncSupported() - Method in class playn.core.Platform
-
Deprecated.
- isBoolean(int) - Method in interface playn.core.Json.Array
-
Returns
true
if the value at the given index is a boolean. - isBoolean(String) - Method in interface playn.core.Json.Object
-
Returns
true
if the value at the given key is a boolean. - isCtrlDown() - Method in class playn.core.Event.Input
-
Returns true if the
ctrl
key was down when this event was generated. - isEnd - Variable in enum class playn.core.Pointer.Event.Kind
-
Whether this kind starts or ends an interaction.
- isEnd - Variable in enum class playn.core.Touch.Event.Kind
-
Whether this touch kind starts or ends an interaction.
- isExtensionAvailable(String) - Method in class playn.core.GL20
- isFunctionAvailable(String) - Method in class playn.core.GL20
- isKey(Key) - Static method in class playn.core.Keyboard
-
Returns a collector function for key events for
key
. - isKey(Key, Keyboard.Event) - Static method in class playn.core.Keyboard
-
A collector function for key events for
key
. - isLikelyToPerform(GL20) - Static method in class playn.core.UniformQuadBatch
-
Returns false if the GL context doesn't support sufficient numbers of vertex uniform vectors to allow this shader to run with good performance, true otherwise.
- isLoaded() - Method in class playn.core.Image
-
Returns whether this image is successfully loaded.
- isLoaded() - Method in class playn.core.Sound
-
Returns whether this sound is fully loaded.
- isLoaded() - Method in class playn.core.Tile
- isLoaded() - Method in class playn.core.TileSource
-
Returns whether this tile source is loaded and ready to provide its tile.
- isMainThread() - Method in class playn.core.Exec
-
Returns true if the caller is running on the 'main' game thread, false otherwise.
- isMetaDown() - Method in class playn.core.Event.Input
-
Returns true if the
meta
key was down when this event was generated. - isMouseLocked() - Method in class playn.core.Input
-
Returns whether the mouse is currently locked.
- isNull(int) - Method in interface playn.core.Json.Array
-
Returns
true
if the value at the given index is null, or does not exist. - isNull(String) - Method in interface playn.core.Json.Object
-
Returns
true
if the value at the given key is null or does not exist. - isNumber(int) - Method in interface playn.core.Json.Array
-
Returns
true
if the value at the given index is a number. - isNumber(String) - Method in interface playn.core.Json.Object
-
Returns
true
if the value at the given key is a number. - isObject(int) - Method in interface playn.core.Json.Array
-
Returns
true
if the value at the given index is an object. - isObject(Object) - Method in interface playn.core.Json
-
Determines if the given object is a JSON
Json.Object
. - isObject(String) - Method in interface playn.core.Json.Object
-
Returns
true
if the value at the given key is an object. - isPersisted() - Method in interface playn.core.Storage
-
Returns true if storage data will be persistent across restarts.
- isPlaying() - Method in class playn.core.Sound
-
Determine whether this audio stream is currently playing.
- isPlaying() - Method in class playn.core.SoundImpl
- isPost() - Method in class playn.core.Net.Builder
- isSet(int) - Method in class playn.core.Event.Input
-
Returns whether the
flag
bit is set. - isShiftDown() - Method in class playn.core.Event.Input
-
Returns true if the
shift
key was down when this event was generated. - isStart - Variable in enum class playn.core.Pointer.Event.Kind
-
Whether this kind starts or ends an interaction.
- isStart - Variable in enum class playn.core.Touch.Event.Kind
-
Whether this touch kind starts or ends an interaction.
- isString(int) - Method in interface playn.core.Json.Array
-
Returns
true
if the value at the given index is a string. - isString(String) - Method in interface playn.core.Json.Object
-
Returns
true
if the value at the given key is a string. - isTouch - Variable in class playn.core.Pointer.Event
-
Whether this event originated from a touch event.
- ITALIC - Enum constant in enum class playn.core.Font.Style
- iterator() - Method in interface playn.core.Json.TypedArray
-
Returns an iterator over the values of the assumed type in this array.
J
- J - Enum constant in enum class playn.core.Key
- JAVA - Enum constant in enum class playn.core.Platform.Type
- json() - Method in class playn.core.Platform
-
Returns the
Json
service. - json() - Method in class playn.core.StubPlatform
- Json - Interface in playn.core
-
PlayN JSON parsing and serialization interface.
- Json.Array - Interface in playn.core
-
Represents a parsed JSON array as a simple
int->value
map. - Json.Object - Interface in playn.core
-
Represents a parsed JSON object as a simple
string->value
map. - Json.TypedArray<T> - Interface in playn.core
-
A JSON array that assumes all values are of a uniform JSON type.
- Json.TypedArray.Util - Class in playn.core
-
Contains utility methods for creating typed arrays to supply as the default when fetching optional typed arrays from your JSON model.
- Json.Writer - Interface in playn.core
-
A
JsonSink
that writes JSON to a string.
K
- K - Enum constant in enum class playn.core.Key
- K0 - Enum constant in enum class playn.core.Key
- K1 - Enum constant in enum class playn.core.Key
- K2 - Enum constant in enum class playn.core.Key
- K3 - Enum constant in enum class playn.core.Key
- K4 - Enum constant in enum class playn.core.Key
- K5 - Enum constant in enum class playn.core.Key
- K6 - Enum constant in enum class playn.core.Key
- K7 - Enum constant in enum class playn.core.Key
- K8 - Enum constant in enum class playn.core.Key
- K9 - Enum constant in enum class playn.core.Key
- key - Variable in class playn.core.Keyboard.KeyEvent
-
The key that triggered this event, e.g.
- Key - Enum Class in playn.core
-
Enumerates all possible keys that may be encountered on all platforms.
- Keyboard - Class in playn.core
-
Defines and dispatches keyboard events.
- Keyboard() - Constructor for class playn.core.Keyboard
- Keyboard.Event - Class in playn.core
-
The base class for all keyboard events.
- Keyboard.KeyEvent - Class in playn.core
-
An event dispatched for key press/release.
- Keyboard.KeySlot - Class in playn.core
-
A slot which only dispatches on
Keyboard.KeyEvent
s. - Keyboard.TextType - Enum Class in playn.core
-
Enumerates the different available mobile keyboard types.
- Keyboard.TypedEvent - Class in playn.core
-
An event dispatched when a printable character is typed.
- Keyboard.TypedSlot - Class in playn.core
-
A slot which only dispatches on
Keyboard.TypedEvent
s. - keyboardEnabled - Variable in class playn.core.Input
-
Enables or disables keyboard interaction.
- keyboardEvents - Variable in class playn.core.Input
-
A signal via which keyboard events are emitted.
- KeyEvent(int, double, Key, boolean) - Constructor for class playn.core.Keyboard.KeyEvent
- keyEvents(Keyboard.Event) - Static method in class playn.core.Keyboard
-
Checks whether
event
is aKeyEvent
and returns it (casted appropriately) if so. - keys() - Method in interface playn.core.Json.Object
-
Gets a snapshot of the current set of keys for this JSON object.
- keys() - Method in interface playn.core.Storage
-
Returns an object that can be used to iterate over all storage keys.
- KeySlot() - Constructor for class playn.core.Keyboard.KeySlot
- kind - Variable in class playn.core.Pointer.Event
-
Whether this event represents a start, move, etc.
- kind - Variable in class playn.core.Touch.Event
-
Whether this event represents a start, move, etc.
L
- L - Enum constant in enum class playn.core.Key
- LANDSCAPE - Enum constant in enum class playn.core.Graphics.Orientation
- LANDSCAPE_LEFT - Enum constant in enum class playn.core.Graphics.OrientationDetail
-
Perpendicular to the ground, top of device to the left.
- LANDSCAPE_RIGHT - Enum constant in enum class playn.core.Graphics.OrientationDetail
-
Perpendicular to the ground, top of device to the right.
- layoutText(String, TextFormat) - Method in class playn.core.Graphics
-
Lays out a single line of text using the specified format.
- layoutText(String, TextFormat, TextWrap) - Method in class playn.core.Graphics
-
Lays out multiple lines of text using the specified format and wrap configuration.
- leading() - Method in class playn.core.TextLayout
-
The number of pixels between the bottom of one line of text and the top of the next.
- LEFT - Enum constant in enum class playn.core.Key
- LEFT - Enum constant in enum class playn.core.Mouse.ButtonEvent.Id
- LEFT - Enum constant in enum class playn.core.TextBlock.Align
- LEFT_BRACE - Enum constant in enum class playn.core.Key
- LEFT_BRACKET - Enum constant in enum class playn.core.Key
- LEFT_PAREN - Enum constant in enum class playn.core.Key
- length() - Method in interface playn.core.Json.Array
-
Gets the length of this array.
- length() - Method in interface playn.core.Json.TypedArray
-
Returns the number of values in this array.
- LESS - Enum constant in enum class playn.core.Key
- lifecycle - Variable in class playn.core.Platform
-
A signal emitted with lifecycle events.
- Linear(float, float, float, float, int[], float[]) - Constructor for class playn.core.Gradient.Linear
- lines - Variable in class playn.core.TextBlock
-
The individual lines of text in this block.
- lineTo(float, float) - Method in interface playn.core.Path
-
Adds a line to the path, from the current position to the specified target.
- log() - Method in class playn.core.Platform
-
Returns the
Log
service. - log() - Method in class playn.core.StubPlatform
- Log - Class in playn.core
-
Simple PlayN logging interface.
- Log() - Constructor for class playn.core.Log
- Log.Collector - Interface in playn.core
-
Allows for collection of log messages (in addition to standard logging).
- Log.Level - Enum Class in playn.core
-
Tags a log message with a level.
- logged(Log.Level, String, Throwable) - Method in interface playn.core.Log.Collector
-
Called when a message is logged.
M
- M - Enum constant in enum class playn.core.Key
- magFilter - Variable in class playn.core.Texture.Config
-
The filter to use when this texture is scaled:
GL_LINEAR
orGL_NEAREST
. - managed - Variable in class playn.core.Texture.Config
-
Whether or not texture's lifecycle is automatically managed via reference counting.
- MANUAL - Static variable in class playn.core.TextWrap
-
An instance that indicates that we should only wrap on manual line breaks and not at any specific width.
- MEDIA_CLOSE - Enum constant in enum class playn.core.Key
- MEDIA_EJECT - Enum constant in enum class playn.core.Key
- MEDIA_FAST_FORWARD - Enum constant in enum class playn.core.Key
- MEDIA_NEXT - Enum constant in enum class playn.core.Key
- MEDIA_PAUSE - Enum constant in enum class playn.core.Key
- MEDIA_PLAY - Enum constant in enum class playn.core.Key
- MEDIA_PLAY_PAUSE - Enum constant in enum class playn.core.Key
- MEDIA_PREVIOUS - Enum constant in enum class playn.core.Key
- MEDIA_RECORD - Enum constant in enum class playn.core.Key
- MEDIA_REWIND - Enum constant in enum class playn.core.Key
- MEDIA_STOP - Enum constant in enum class playn.core.Key
- MENU - Enum constant in enum class playn.core.Key
- message - Variable in class playn.core.Platform.Error
- META - Enum constant in enum class playn.core.Key
- method() - Method in class playn.core.Net.Builder
- MIDDLE - Enum constant in enum class playn.core.Mouse.ButtonEvent.Id
- minFilter - Variable in class playn.core.Texture.Config
-
The filter to use when this texture is scaled:
GL_LINEAR
orGL_NEAREST
. - MINUS - Enum constant in enum class playn.core.Key
- mipmaps - Variable in class playn.core.Texture.Config
-
Whether texture has mipmaps generated.
- MITER - Enum constant in enum class playn.core.Canvas.LineJoin
- modifierFlags(boolean, boolean, boolean, boolean) - Static method in class playn.core.Event.Input
-
A helper function used by platform input code to compose modifier flags.
- MotionEvent(int, double, float, float, float, float) - Constructor for class playn.core.Mouse.MotionEvent
- motionEvents(Mouse.Event) - Static method in class playn.core.Mouse
-
Checks whether
event
is aMotionEvent
and returns it (casted appropriately) if so. - MotionSlot() - Constructor for class playn.core.Mouse.MotionSlot
- Mouse - Class in playn.core
-
Defines and dispatches mouse events.
- Mouse() - Constructor for class playn.core.Mouse
- Mouse.ButtonEvent - Class in playn.core
-
The event dispatched for mouse input.
- Mouse.ButtonEvent.Id - Enum Class in playn.core
-
Enumerates the supported mouse buttons.
- Mouse.ButtonSlot - Class in playn.core
-
A slot which only dispatches on
Mouse.ButtonEvent
s. - Mouse.Event - Class in playn.core
-
The base class for all mouse events.
- Mouse.MotionEvent - Class in playn.core
-
An event dispatched when the mouse is moved.
- Mouse.MotionSlot - Class in playn.core
-
A slot which only dispatches on
Mouse.MotionEvent
s. - Mouse.WheelEvent - Class in playn.core
-
An event dispatched when the mouse wheel is scrolled.
- Mouse.WheelSlot - Class in playn.core
-
A slot which only dispatches on
Mouse.WheelEvent
s. - mouseEnabled - Variable in class playn.core.Input
-
Enables or disables mouse interaction.
- mouseEvents - Variable in class playn.core.Input
-
A signal which emits mouse events.
- MOVE - Enum constant in enum class playn.core.Touch.Event.Kind
- moveTo(float, float) - Method in interface playn.core.Path
-
Moves the position to the given location.
- MULTIPLY - Enum constant in enum class playn.core.Canvas.Composite
-
A * B.
- MULTIPLY - Enum constant in enum class playn.core.Key
- MUTE - Enum constant in enum class playn.core.Key
N
- N - Enum constant in enum class playn.core.Key
- name - Variable in class playn.core.Font
-
The name of this font.
- name - Variable in class playn.core.Net.Header
- net() - Method in class playn.core.Platform
-
Returns the
Net
service. - net() - Method in class playn.core.StubPlatform
- Net - Class in playn.core
-
PlayN network interface.
- Net() - Constructor for class playn.core.Net
- Net.Builder - Class in playn.core
-
Builds a request and allows it to be configured and executed.
- Net.Header - Class in playn.core
-
Contains data for an HTTP header.
- Net.HttpException - Exception Class in playn.core
-
Used to report HTTP error responses by
Net.get(java.lang.String)
andNet.post(java.lang.String, java.lang.String)
. - Net.Response - Class in playn.core
-
Communicates an HTTP response to the caller.
- Net.Response.Binary - Class in playn.core
-
Used to deliver binary response data.
- Net.WebSocket - Interface in playn.core
-
Encapsulates a web socket.
- Net.WebSocket.Listener - Interface in playn.core
-
Notifies game of web socket events.
- newWriter() - Method in interface playn.core.Json
-
Creates a new
Json.Writer
, which can be used to serialize data into the JSON format. - nextPOT(int) - Static method in class playn.core.Texture
-
Returns next largest power of two, or
value
ifvalue
is already a POT. - nextPowerOfTwo(int) - Static method in class playn.core.GLUtil
-
Returns the next largest power of two, or zero if x is already a power of two.
- NOOP_TINT - Static variable in class playn.core.Tint
-
A tint that does not change the underlying color.
- normalizeEOL(String) - Static method in class playn.core.TextLayout
-
A helper function for normalizing EOL prior to processing.
- NOTIFICATION - Enum constant in enum class playn.core.Key
- NP_ADD - Enum constant in enum class playn.core.Key
- NP_DECIMAL - Enum constant in enum class playn.core.Key
- NP_DELETE - Enum constant in enum class playn.core.Key
- NP_DIVIDE - Enum constant in enum class playn.core.Key
- NP_DOWN - Enum constant in enum class playn.core.Key
- NP_LEFT - Enum constant in enum class playn.core.Key
- NP_MULTIPLY - Enum constant in enum class playn.core.Key
- NP_NUM_LOCK - Enum constant in enum class playn.core.Key
- NP_RIGHT - Enum constant in enum class playn.core.Key
- NP_SUBTRACT - Enum constant in enum class playn.core.Key
- NP_UP - Enum constant in enum class playn.core.Key
- NP0 - Enum constant in enum class playn.core.Key
- NP1 - Enum constant in enum class playn.core.Key
- NP2 - Enum constant in enum class playn.core.Key
- NP3 - Enum constant in enum class playn.core.Key
- NP4 - Enum constant in enum class playn.core.Key
- NP5 - Enum constant in enum class playn.core.Key
- NP6 - Enum constant in enum class playn.core.Key
- NP7 - Enum constant in enum class playn.core.Key
- NP8 - Enum constant in enum class playn.core.Key
- NP9 - Enum constant in enum class playn.core.Key
- NUM - Enum constant in enum class playn.core.Key
- NUMBER - Enum constant in enum class playn.core.Keyboard.TextType
O
- O - Enum constant in enum class playn.core.Key
- onClose() - Method in interface playn.core.Net.WebSocket.Listener
-
Reports that a web socket has been closed.
- onDataMessage(ByteBuffer) - Method in interface playn.core.Net.WebSocket.Listener
-
Reports that a binary message has arrived on a web socket.
- ONE - Static variable in class playn.core.Scale
-
An unscaled scale factor singleton.
- onEmit(Keyboard.Event) - Method in class playn.core.Keyboard.KeySlot
- onEmit(Keyboard.Event) - Method in class playn.core.Keyboard.TypedSlot
- onEmit(Keyboard.KeyEvent) - Method in class playn.core.Keyboard.KeySlot
- onEmit(Keyboard.TypedEvent) - Method in class playn.core.Keyboard.TypedSlot
- onEmit(Mouse.ButtonEvent) - Method in class playn.core.Mouse.ButtonSlot
- onEmit(Mouse.Event) - Method in class playn.core.Mouse.ButtonSlot
- onEmit(Mouse.Event) - Method in class playn.core.Mouse.MotionSlot
- onEmit(Mouse.Event) - Method in class playn.core.Mouse.WheelSlot
- onEmit(Mouse.MotionEvent) - Method in class playn.core.Mouse.MotionSlot
- onEmit(Mouse.WheelEvent) - Method in class playn.core.Mouse.WheelSlot
- onError(String) - Method in interface playn.core.Net.WebSocket.Listener
-
Reports that a web socket has encountered an error.
- onOpen() - Method in interface playn.core.Net.WebSocket.Listener
-
Reports that a requested web socket is now open and ready for use.
- onTextMessage(String) - Method in interface playn.core.Net.WebSocket.Listener
-
Reports that a text message has arrived on a web socket.
- openURL(String) - Method in class playn.core.Platform
-
Opens the given URL in the default browser.
- openURL(String) - Method in class playn.core.StubPlatform
- orientDetail - Variable in class playn.core.Graphics
-
The current orientation of the device in more detailed form.
P
- P - Enum constant in enum class playn.core.Key
- PAGE_DOWN - Enum constant in enum class playn.core.Key
- PAGE_UP - Enum constant in enum class playn.core.Key
- paint - Variable in class playn.core.Game
-
A signal emitted on every frame.
- paint(Clock) - Method in class playn.core.Game
-
Called on every frame.
- parse(String) - Method in interface playn.core.Json
-
Parses the given JSON string into an
Json.Object
that can be dynamically introspected. - parseArray(String) - Method in interface playn.core.Json
-
Parses the given JSON string into an
Json.Array
that can be dynamically introspected. - path - Variable in class playn.core.Scale.ScaledResource
-
The path to the resource, including any scale factor annotation.
- Path - Interface in playn.core
-
A path object created by
Canvas.createPath()
. - Pattern - Class in playn.core
-
A bitmap fill pattern created by
Image.createPattern(boolean, boolean)
. - PAUSE - Enum constant in enum class playn.core.Key
- PAUSE - Enum constant in enum class playn.core.Platform.Lifecycle
- payload() - Method in class playn.core.Net.Response.Binary
- payload() - Method in class playn.core.Net.Response
-
Returns the response payload as raw bytes.
- payloadBytes - Variable in class playn.core.Net.Builder
- payloadImage(Scale) - Method in class playn.core.Net.Response
-
Returns the response payload as an
Image
. - payloadString - Variable in class playn.core.Net.Builder
- payloadString() - Method in class playn.core.Net.Response.Binary
- payloadString() - Method in class playn.core.Net.Response
-
Returns the response payload as a string, decoded using the character set specified in the response's content type.
- PER_VERT_ATTRS - Static variable in class playn.core.TriangleBatch.Source
-
The varies-per-vert attribute variables for our shader.
- PERCENT - Enum constant in enum class playn.core.Key
- PERIOD - Enum constant in enum class playn.core.Key
- PICTSYMBOLS - Enum constant in enum class playn.core.Key
- pixelHeight - Variable in class playn.core.ImageImpl.Data
- pixelHeight - Variable in class playn.core.Texture
-
The height of this texture in pixels.
- pixelHeight() - Method in class playn.core.Image
-
Returns the height of this image in physical pixels.
- pixelHeight() - Method in class playn.core.ImageImpl
- pixelWidth - Variable in class playn.core.ImageImpl.Data
- pixelWidth - Variable in class playn.core.Texture
-
The width of this texture in pixels.
- pixelWidth() - Method in class playn.core.Image
-
Returns the width of this image in physical pixels.
- pixelWidth() - Method in class playn.core.ImageImpl
- PLAIN - Enum constant in enum class playn.core.Font.Style
- plat - Variable in class playn.core.Game
-
The platform on which this game is running.
- Platform - Class in playn.core
-
Provides access to all PlayN cross-platform services.
- Platform() - Constructor for class playn.core.Platform
- Platform.Error - Class in playn.core
- Platform.Lifecycle - Enum Class in playn.core
-
Defines the lifecycle events.
- Platform.Type - Enum Class in playn.core
-
Enumerates the supported platform types.
- play() - Method in class playn.core.Sound
-
If possible, begin playback of this audio stream.
- play() - Method in class playn.core.SoundImpl
- playn.core - package playn.core
- PLUS - Enum constant in enum class playn.core.Key
- Pointer - Class in playn.core
- Pointer(Platform) - Constructor for class playn.core.Pointer
- Pointer.Event - Class in playn.core
-
Contains information on a pointer event.
- Pointer.Event.Kind - Enum Class in playn.core
-
Enumerates the different kinds of pointer event.
- popBatch(QuadBatch) - Method in class playn.core.Surface
-
Restores the batch that was in effect prior to a
Surface.pushBatch(playn.core.QuadBatch)
call. - PORTRAIT - Enum constant in enum class playn.core.Graphics.Orientation
- PORTRAIT - Enum constant in enum class playn.core.Graphics.OrientationDetail
-
Perpendicular to the ground, top of device up.
- PORTRAIT_UPSIDE_DOWN - Enum constant in enum class playn.core.Graphics.OrientationDetail
-
Perpendicular to the ground, top of device down.
- positions - Variable in class playn.core.Gradient.Config
- post(String, String) - Method in class playn.core.Net
-
Performs an HTTP POST request to the specified URL.
- POWER - Enum constant in enum class playn.core.Key
- preConcatenate(AffineTransform) - Method in class playn.core.Surface
-
Pre-concatenates
xf
onto this surface's transform. - prepare() - Method in class playn.core.Sound
-
Prepares this sound to be played by preloading it into audio buffers.
- prepare() - Method in class playn.core.SoundImpl
- prepare(int, float, float, float, float, float, float) - Method in class playn.core.TriangleBatch
- prepare(int, AffineTransform) - Method in class playn.core.TriangleBatch
-
Prepares to add primitives with the specified tint and transform.
- pressure - Variable in class playn.core.Touch.Event
-
The pressure of the touch.
- PRINT_SCREEN - Enum constant in enum class playn.core.Key
- pushBatch(QuadBatch) - Method in class playn.core.Surface
-
Configures this surface to use
batch
, if non-null. - put(String, Object) - Method in interface playn.core.Json.Object
-
Inserts a JSON null, object, array or string value at the given key.
Q
- Q - Enum constant in enum class playn.core.Key
- QuadBatch - Class in playn.core
-
A batch which can render textured quads.
- quadraticCurveTo(float, float, float, float) - Method in interface playn.core.Path
-
Adds a quadratic curve to the path, from the current position to the specified target, with the specified control point.
- QUESTION_MARK - Enum constant in enum class playn.core.Key
- QUOTE - Enum constant in enum class playn.core.Key
R
- r - Variable in class playn.core.Gradient.Radial
- R - Enum constant in enum class playn.core.Key
- Radial(float, float, float, int[], float[]) - Constructor for class playn.core.Gradient.Radial
- red(int) - Static method in class playn.core.Color
-
Extracts the red component, in range [0, 255], from the given packed color.
- RED - Enum constant in enum class playn.core.Key
- reference() - Method in class playn.core.Texture
-
Increments this texture's reference count.
- region(float, float, float, float) - Method in class playn.core.Image
-
Returns a region of this image which can be drawn independently.
- Region() - Constructor for class playn.core.Image.Region
- release() - Method in class playn.core.Sound
-
Releases resources used by this sound.
- release() - Method in class playn.core.SoundImpl
- release() - Method in class playn.core.Texture
-
Decrements this texture's reference count.
- remove(int) - Method in interface playn.core.Json.Array
-
Removes a JSON value from the given index.
- remove(String) - Method in interface playn.core.Json.Object
-
Removes a JSON value at the given key.
- removeItem(String) - Method in class playn.core.BatchImpl
- removeItem(String) - Method in interface playn.core.Storage.Batch
-
Adds an deletion to the batch.
- removeItem(String) - Method in interface playn.core.Storage
-
Removes the item in the Storage associated with the specified key.
- RenderTarget - Class in playn.core
-
Encapsulates an OpenGL render target (i.e.
- RenderTarget(Graphics) - Constructor for class playn.core.RenderTarget
- repeat(boolean, boolean) - Method in class playn.core.Texture.Config
-
Returns a copy of this config with
repeatX
,repeatY
set as specified. - repeatX - Variable in class playn.core.Pattern
-
Whether this pattern repeats in the x-direction.
- repeatX - Variable in class playn.core.Texture.Config
-
Whether texture is configured to repeat in this direction.
- repeatY - Variable in class playn.core.Pattern
-
Whether this pattern repeats in the y-direction.
- repeatY - Variable in class playn.core.Texture.Config
-
Whether texture is configured to repeat in this direction.
- reportError(String, Throwable) - Method in class playn.core.Platform
-
Called when a backend (or other framework code) encounters an exception that it can recover from, but which it would like to report in some orderly fashion.
- req(String) - Method in class playn.core.Net
-
Creates a builder for a request with the specified URL.
- reset() - Method in interface playn.core.Path
-
Resets the current path, removing all strokes and moving the position to (0, 0).
- resizeByteBuffer(int) - Method in class playn.core.GL20.Buffers
- resizeFloatBuffer(int) - Method in class playn.core.GL20.Buffers
- resizeIntBuffer(int) - Method in class playn.core.GL20.Buffers
- resizeShortBuffer(int) - Method in class playn.core.GL20.Buffers
- responseCode() - Method in class playn.core.Net.Response
-
Returns the HTTP response code provided by the server.
- restore() - Method in class playn.core.Canvas
-
Restores the canvas's previous state.
- restoreTx() - Method in class playn.core.Surface
-
Restores the transform previously stored by
Surface.saveTx()
. - RESUME - Enum constant in enum class playn.core.Platform.Lifecycle
- rgb(int, int, int) - Static method in class playn.core.Color
-
Creates a packed integer color from three RGB values in the range [0, 255].
- RIGHT - Enum constant in enum class playn.core.Key
- RIGHT - Enum constant in enum class playn.core.Mouse.ButtonEvent.Id
- RIGHT - Enum constant in enum class playn.core.TextBlock.Align
- RIGHT_BRACE - Enum constant in enum class playn.core.Key
- RIGHT_BRACKET - Enum constant in enum class playn.core.Key
- RIGHT_PAREN - Enum constant in enum class playn.core.Key
- rotate(float) - Method in class playn.core.Canvas
-
Rotates the current transformation matrix by the specified angle in radians.
- rotate(float) - Method in class playn.core.Surface
-
Rotates the current transformation matrix by the specified angle in radians.
- ROUND - Enum constant in enum class playn.core.Canvas.LineCap
- ROUND - Enum constant in enum class playn.core.Canvas.LineJoin
- roundToNearestPixel(float) - Method in class playn.core.Scale
-
Rounds the supplied length to the nearest length value that corresponds to an integer pixel length after the scale factor is applied.
S
- S - Enum constant in enum class playn.core.Key
- save() - Method in class playn.core.Canvas
-
The save and restore methods preserve and restore the state of the canvas, but not specific paths or graphics.
- saveTx() - Method in class playn.core.Surface
-
Saves the current transform.
- scale - Variable in class playn.core.ImageImpl.Data
- scale - Variable in class playn.core.Scale.ScaledResource
-
The scale factor for this resource.
- scale - Variable in class playn.core.Texture
-
The scale factor used by this texture.
- scale() - Method in class playn.core.Graphics
-
Returns the display scale factor.
- scale() - Method in class playn.core.Image
-
Returns the scale of resolution independent pixels to actual pixels for this image.
- scale() - Method in class playn.core.ImageImpl
- scale(float, float) - Method in class playn.core.Canvas
-
Scales the current transformation matrix by the specified amount.
- scale(float, float) - Method in class playn.core.Surface
-
Scales the current transformation matrix by the specified amount on each axis.
- Scale - Class in playn.core
-
Encapsulates a scale factor, provides useful utility methods.
- Scale(float) - Constructor for class playn.core.Scale
- Scale.ScaledResource - Class in playn.core
- scaled(float) - Method in class playn.core.Scale
-
Returns the supplied length scaled by our scale factor.
- scaledCeil(float) - Method in class playn.core.Scale
-
Returns the supplied length scaled by our scale factor and rounded up.
- scaledFloor(float) - Method in class playn.core.Scale
-
Returns the supplied length scaled by our scale factor and rounded down.
- ScaledResource(Scale, String) - Constructor for class playn.core.Scale.ScaledResource
- screenSize() - Method in class playn.core.Graphics
-
Returns the size of the screen in display units.
- SCROLL_LOCK - Enum constant in enum class playn.core.Key
- SEARCH - Enum constant in enum class playn.core.Key
- SEMICOLON - Enum constant in enum class playn.core.Key
- send(String) - Method in interface playn.core.Net.WebSocket
-
Queues the supplied text message to be sent over the socket.
- send(ByteBuffer) - Method in interface playn.core.Net.WebSocket
-
Queues the supplied binary message to be sent over the socket.
- set(int, Object) - Method in interface playn.core.Json.Array
-
Sets a JSON boolean, null, number, object, or array value at the given index.
- setAlpha(float) - Method in class playn.core.Canvas
-
Set the global alpha value to be used for all painting.
- setAlpha(float) - Method in class playn.core.Surface
-
Set the alpha component of this surface's current tint.
- setAlpha(int, float) - Static method in class playn.core.Tint
-
Sets the alpha component of
tint
toalpha
. - setByteBuffer(byte[], int, int) - Method in class playn.core.GL20.Buffers
- setCheckIntersection(boolean) - Method in class playn.core.Surface
-
Configures this surface to check the bounds of drawn
Tile
s to ensure that they intersect our visible bounds before adding them to our GPU batch. - setCollector(Log.Collector) - Method in class playn.core.Log
-
Configures a log message collector.
- setCompositeOperation(Canvas.Composite) - Method in class playn.core.Canvas
-
Sets the Porter-Duff composite operation to be used for all painting.
- setConfig(Texture.Config) - Method in class playn.core.Image
-
Sets the texture config used when creating this image's default texture.
- setFillColor(int) - Method in class playn.core.Canvas
-
Sets the color to be used for fill operations.
- setFillColor(int) - Method in class playn.core.Surface
-
Sets the color to be used for fill operations.
- setFillGradient(Gradient) - Method in class playn.core.Canvas
-
Sets the gradient to be used for fill operations.
- setFillPattern(Pattern) - Method in class playn.core.Canvas
-
Sets the pattern to be used for fill operations.
- setFillPattern(Texture) - Method in class playn.core.Surface
-
Sets the texture to be used for fill operations.
- setFlag(int) - Method in class playn.core.Event.Input
-
Sets the
flag
bit. - setFloatBuffer(float) - Method in class playn.core.GL20.Buffers
- setFloatBuffer(float[], int, int) - Method in class playn.core.GL20.Buffers
- setIntBuffer(int) - Method in class playn.core.GL20.Buffers
- setIntBuffer(int[], int, int) - Method in class playn.core.GL20.Buffers
- setItem(String, String) - Method in class playn.core.BatchImpl
- setItem(String, String) - Method in interface playn.core.Storage.Batch
-
Adds an update to the batch.
- setItem(String, String) - Method in interface playn.core.Storage
-
Sets the value associated with the specified key to
data
. - setLineCap(Canvas.LineCap) - Method in class playn.core.Canvas
-
Sets the line-cap mode for strokes.
- setLineJoin(Canvas.LineJoin) - Method in class playn.core.Canvas
-
Sets the line-join mode for strokes.
- setLooping(boolean) - Method in class playn.core.Sound
-
Set whether audio stream playback should be looped indefinitely or not.
- setLooping(boolean) - Method in class playn.core.SoundImpl
- setMinLevel(Log.Level) - Method in class playn.core.Log
-
Configures the minimum log level that will be logged.
- setMiterLimit(float) - Method in class playn.core.Canvas
-
Sets the miter limit for strokes.
- setMouseLocked(boolean) - Method in class playn.core.Input
-
Lock or unlock the mouse.
- setPayload(byte[]) - Method in class playn.core.Net.Builder
-
Configures the payload of this request as raw bytes with content type "application/octet-stream".
- setPayload(byte[], String) - Method in class playn.core.Net.Builder
-
Configures the payload of this request as raw bytes with the specified content type.
- setPayload(String) - Method in class playn.core.Net.Builder
-
Configures the payload of this request as a UTF-8 string with content type "text/plain".
- setPayload(String, String) - Method in class playn.core.Net.Builder
-
Configures the payload of this request as a UTF-8 string with content type configured as "
contentType
; charset=UTF-8". - setRgb(int, int, int, int, int[], int, int) - Method in class playn.core.Image
-
Sets pixel data for a rectangular area of this image.
- setShortBuffer(short) - Method in class playn.core.GL20.Buffers
- setShortBuffer(short[], int, int) - Method in class playn.core.GL20.Buffers
- setStrokeColor(int) - Method in class playn.core.Canvas
-
Sets the color for strokes.
- setStrokeWidth(float) - Method in class playn.core.Canvas
-
Sets the width for strokes, in pixels.
- setTexture(Texture) - Method in class playn.core.TexturedBatch
-
Prepares this batch to render using the supplied texture.
- SETTINGS - Enum constant in enum class playn.core.Key
- setTint(int) - Method in class playn.core.Surface
-
Sets the tint to be applied to draw operations, as
ARGB
. - setVolume(float) - Method in class playn.core.Sound
- setVolume(float) - Method in class playn.core.SoundImpl
- SHIFT - Enum constant in enum class playn.core.Key
- shortBuffer - Variable in class playn.core.GL20.Buffers
- size - Variable in class playn.core.Font
-
The point size of this font.
- size - Variable in class playn.core.TextLayout
-
The size of the bounding box that contains all of the rendered text.
- size - Variable in class playn.core.Touch.Event
-
The size of the touch.
- SLASH - Enum constant in enum class playn.core.Key
- snapshot() - Method in class playn.core.Canvas
-
Returns an immutable snapshot of the image that backs this canvas.
- SOFT_LEFT - Enum constant in enum class playn.core.Key
- SOFT_RIGHT - Enum constant in enum class playn.core.Key
- Sound - Class in playn.core
-
A single sound asset, which can be played, looped, etc.
- Sound() - Constructor for class playn.core.Sound
-
Creates the sound of silence.
- Sound.Error - Class in playn.core
-
Represents a sound that failed to load.
- SoundImpl<I> - Class in playn.core
-
An implementation detail.
- SoundImpl(Exec) - Constructor for class playn.core.SoundImpl
- Source() - Constructor for class playn.core.TexturedBatch.Source
- Source() - Constructor for class playn.core.TriangleBatch.Source
- Source() - Constructor for class playn.core.UniformQuadBatch.Source
- SPACE - Enum constant in enum class playn.core.Key
- SQUARE - Enum constant in enum class playn.core.Canvas.LineCap
- SRC - Enum constant in enum class playn.core.Canvas.Composite
-
A (B is ignored).
- SRC_ATOP - Enum constant in enum class playn.core.Canvas.Composite
-
A atop B.
- SRC_IN - Enum constant in enum class playn.core.Canvas.Composite
-
A in B.
- SRC_OUT - Enum constant in enum class playn.core.Canvas.Composite
-
A out B.
- SRC_OVER - Enum constant in enum class playn.core.Canvas.Composite
-
A over B.
- STAR - Enum constant in enum class playn.core.Key
- START - Enum constant in enum class playn.core.Pointer.Event.Kind
- START - Enum constant in enum class playn.core.Touch.Event.Kind
- startBatch() - Method in interface playn.core.Storage
-
Creates a
Storage.Batch
that can be used to effect multiple changes to storage in a single, more efficient, operation. - startClipped(int, int, int, int) - Method in class playn.core.Surface
-
Starts a series of drawing commands that are clipped to the specified rectangle (in view coordinates, not OpenGL coordinates).
- state - Variable in class playn.core.Image
-
Reports the asynchronous loading of this image.
- state - Variable in class playn.core.Sound
-
Reports the asynchronous loading of this sound.
- STB_INPUT - Enum constant in enum class playn.core.Key
- STB_POWER - Enum constant in enum class playn.core.Key
- stop() - Method in class playn.core.Sound
-
Stop playback of the current audio stream as soon as possible, and reset the sound position to its starting position, such that a subsequent call to
Sound.play()
will cause the audio file to being playback from the beginning of the audio stream. - stop() - Method in class playn.core.SoundImpl
- storage() - Method in class playn.core.Platform
-
Returns the
Storage
storage service. - storage() - Method in class playn.core.StubPlatform
- Storage - Interface in playn.core
-
Stores settings in a key/value map.
- Storage.Batch - Interface in playn.core
-
Represents a batch of edits to be applied to storage in one transaction.
- stroke(Canvas, TextBlock.Align, float, float) - Method in class playn.core.TextBlock
-
Strokes
lines
intocanvas
at the specified coordinates, using the specified alignment. - strokeCircle(float, float, float) - Method in class playn.core.Canvas
-
Strokes a circle at the specified center and radius.
- strokePath(Path) - Method in class playn.core.Canvas
-
Strokes the specified path.
- strokeRect(float, float, float, float) - Method in class playn.core.Canvas
-
Strokes the specified rectangle.
- strokeRoundRect(float, float, float, float, float) - Method in class playn.core.Canvas
-
Strokes the specified rounded rectangle.
- strokeText(TextLayout, float, float) - Method in class playn.core.Canvas
-
Strokes the text at the specified location.
- STUB - Enum constant in enum class playn.core.Platform.Type
- StubPlatform - Class in playn.core
-
A stub implementation of
Platform
that provides implementations of those services that can be usefully implemented for unit tests, and throwsUnsupportedOperationException
for the rest. - StubPlatform() - Constructor for class playn.core.StubPlatform
- style - Variable in class playn.core.Font
-
The style of this font.
- succeed(I) - Method in class playn.core.SoundImpl
-
Configures this sound with its platform implementation.
- succeed(ImageImpl.Data) - Method in class playn.core.ImageImpl
-
Notifies this image that its implementation bitmap is available.
- Surface - Class in playn.core
-
A surface provides a simple drawing API to a GPU accelerated render target.
- Surface(Graphics, RenderTarget, QuadBatch) - Constructor for class playn.core.Surface
-
Creates a surface which will render to
target
usingdefaultBatch
as its default quad renderer. - SWITCH_CHARSET - Enum constant in enum class playn.core.Key
- sx() - Method in class playn.core.Texture
- sx() - Method in class playn.core.Tile
-
Returns the
s
texture coordinate for the x-axis. - sy() - Method in class playn.core.Texture
- sy() - Method in class playn.core.Tile
-
Returns the
s
texture coordinate for the y-axis. - SYM - Enum constant in enum class playn.core.Key
- sysDialog(String, String, String, String) - Method in class playn.core.Input
-
Displays a system dialog with the specified title and text, an OK button and optionally a Cancel button.
- SYSRQ - Enum constant in enum class playn.core.Key
T
- T - Enum constant in enum class playn.core.Key
- TAB - Enum constant in enum class playn.core.Key
- text - Variable in class playn.core.TextLayout
-
The text that was laid out.
- TextBlock - Class in playn.core
-
Encapsulates a block of multi-line text.
- TextBlock(TextLayout[]) - Constructor for class playn.core.TextBlock
-
Creates a text block with the supplied
lines
. - TextBlock.Align - Enum Class in playn.core
-
Used to align a block of text.
- TextFormat - Class in playn.core
-
Contains info for laying out and drawing single- or multi-line text to a
Canvas
. - TextFormat() - Constructor for class playn.core.TextFormat
-
Creates a default text format instance.
- TextFormat(Font) - Constructor for class playn.core.TextFormat
-
Creates a text format instance with the specified font.
- TextFormat(Font, boolean) - Constructor for class playn.core.TextFormat
-
Creates a configured text format instance.
- TextLayout - Class in playn.core
-
Contains metrics and metadata for a laid out body of text.
- texture - Variable in class playn.core.TextureSurface
-
The texture into which we're rendering.
- texture() - Method in class playn.core.Image
-
Returns, creating if necessary, this image's default texture.
- texture() - Method in class playn.core.Texture
- texture() - Method in class playn.core.Tile
-
The texture which contains this tile.
- Texture - Class in playn.core
-
A handle to an OpenGL texture.
- Texture(Graphics, int, Texture.Config, int, int, Scale, float, float) - Constructor for class playn.core.Texture
- Texture.Config - Class in playn.core
-
Used to configure texture at creation time.
- textureAsync() - Method in class playn.core.Image
-
Returns a future which will deliver the default texture for this image once its loading has completed.
- TexturedBatch - Class in playn.core
-
A batch that renders textured primitives.
- TexturedBatch.Source - Class in playn.core
-
Provides some standard bits for a shader program that uses a tint and a texture.
- TextureSurface - Class in playn.core
- TextureSurface(Graphics, QuadBatch, float, float) - Constructor for class playn.core.TextureSurface
-
Creates a texture surface which is
width x height
in display units. - TextureSurface(Graphics, QuadBatch, Texture) - Constructor for class playn.core.TextureSurface
-
Creates a texture surface which renders to
texture
. - textWidth() - Method in class playn.core.TextBlock
-
Returns the width of the rendered text.
- TextWrap - Class in playn.core
-
Contains the configuration needed when wrapping text.
- TextWrap(float) - Constructor for class playn.core.TextWrap
-
Creates a text wrap config with the specified width and no indent.
- TextWrap(float, float) - Constructor for class playn.core.TextWrap
-
Creates a text wrap config with the specified width and indent.
- tick - Variable in class playn.core.Clock
-
The number of milliseconds that have elapsed since time 0.
- tick() - Method in class playn.core.Platform
-
Returns the number of milliseconds that have elapsed since the game started.
- tick() - Method in class playn.core.StubPlatform
- TILDE - Enum constant in enum class playn.core.Key
- tile() - Method in class playn.core.Image
- tile() - Method in class playn.core.Tile
- tile() - Method in class playn.core.TileSource
-
Returns the tile provided by this source.
- tile(float, float, float, float) - Method in class playn.core.Texture
-
Returns an instance that can be used to render a sub-region of this texture.
- tile(IRectangle) - Method in class playn.core.Texture
-
Returns an instance that can be used to render a sub-region of this texture.
- Tile - Class in playn.core
-
Represents a square region of a texture.
- Tile() - Constructor for class playn.core.Tile
- tileAsync() - Method in class playn.core.Image
- tileAsync() - Method in class playn.core.Tile
- tileAsync() - Method in class playn.core.TileSource
-
Delivers the tile provided by this source once the source is loaded.
- TileSource - Class in playn.core
-
Provides a
Tile
, potentially asynchronously. - TileSource() - Constructor for class playn.core.TileSource
- time - Variable in class playn.core.Event.Input
-
The time at which this event was generated, in milliseconds.
- time() - Method in class playn.core.Platform
-
Returns the current time, as a double value in millis since January 1, 1970, 00:00:00 GMT.
- time() - Method in class playn.core.StubPlatform
- tint() - Method in class playn.core.Surface
-
Returns the currently configured tint.
- Tint - Class in playn.core
-
Tinting related utility methods.
- Tint() - Constructor for class playn.core.Tint
- toCanvas(Graphics, TextBlock.Align, int) - Method in class playn.core.TextBlock
-
Creates a canvas image large enough to accommodate this text block and renders the lines into it.
- toString() - Method in class playn.core.Event.Input
- toString() - Method in class playn.core.Font
- toString() - Method in exception class playn.core.Net.HttpException
- toString() - Method in class playn.core.RenderTarget
- toString() - Method in class playn.core.Scale.ScaledResource
- toString() - Method in class playn.core.Scale
- toString() - Method in class playn.core.TextFormat
- toString() - Method in class playn.core.Texture.Config
- toString() - Method in class playn.core.Texture
- toString() - Method in class playn.core.Tile
- toString() - Method in class playn.core.TriangleBatch
- toString() - Method in class playn.core.UniformQuadBatch
- toTexHeight(int) - Method in class playn.core.Texture.Config
-
Returns
sourceHeight
rounded up to a POT if necessary. - toTexture() - Method in class playn.core.Canvas
-
Calls
Canvas.toTexture(Texture.Config)
with the default texture config. - toTexture(Texture.Config) - Method in class playn.core.Canvas
-
A helper function for creating a texture from this canvas's image, and then disposing this canvas.
- toTexWidth(int) - Method in class playn.core.Texture.Config
-
Returns
sourceWidth
rounded up to a POT if necessary. - Touch - Class in playn.core
-
Defines and dispatches touch events.
- Touch() - Constructor for class playn.core.Touch
- Touch.Event - Class in playn.core
-
Contains information on a touch event.
- Touch.Event.Kind - Enum Class in playn.core
-
Enumerates the different kinds of touch event.
- touchEnabled - Variable in class playn.core.Input
-
Enables or disables touch interaction.
- touchEvents - Variable in class playn.core.Input
-
A signal via which touch events are emitted.
- transform(float, float, float, float, float, float) - Method in class playn.core.Canvas
-
Multiplies the current transformation matrix by the given matrix.
- transform(float, float, float, float, float, float) - Method in class playn.core.Surface
-
Multiplies the current transformation matrix by the given matrix.
- transform(Image.BitmapTransformer) - Method in class playn.core.Image
-
Generates a new image from this image's bitmap, using a transformer created for the platform in use.
- translate(float, float) - Method in class playn.core.Canvas
-
Translates the current transformation matrix by the given amount.
- translate(float, float) - Method in class playn.core.Surface
-
Translates the current transformation matrix by the given amount.
- TriangleBatch - Class in playn.core
-
A batch which renders indexed triangles.
- TriangleBatch(GL20) - Constructor for class playn.core.TriangleBatch
-
Creates a triangle batch with the default shader program.
- TriangleBatch(GL20, TriangleBatch.Source) - Constructor for class playn.core.TriangleBatch
-
Creates a triangle batch with the supplied custom shader program.
- TriangleBatch.Source - Class in playn.core
-
The source for the stock triangle batch shader program.
- TV - Enum constant in enum class playn.core.Key
- TV_INPUT - Enum constant in enum class playn.core.Key
- TV_POWER - Enum constant in enum class playn.core.Key
- tx() - Method in class playn.core.Surface
-
Returns the current transform.
- tx() - Method in class playn.core.Texture
- tx() - Method in class playn.core.Tile
-
Returns the
t
texture coordinate for the x-axis. - ty() - Method in class playn.core.Texture
- ty() - Method in class playn.core.Tile
-
Returns the
t
texture coordinate for the y-axis. - type() - Method in class playn.core.Platform
-
Returns the platform
Platform.Type
. - type() - Method in class playn.core.StubPlatform
- typedChar - Variable in class playn.core.Keyboard.TypedEvent
-
The character typed to trigger this event, e.g.
- TypedEvent(int, double, char) - Constructor for class playn.core.Keyboard.TypedEvent
- typedEvents(Keyboard.Event) - Static method in class playn.core.Keyboard
-
Checks whether
event
is aTypedEvent
and returns it (casted appropriately) if so. - TypedSlot() - Constructor for class playn.core.Keyboard.TypedSlot
U
- U - Enum constant in enum class playn.core.Key
- UNDERSCORE - Enum constant in enum class playn.core.Key
- UniformQuadBatch - Class in playn.core
-
A batch which renders quads by stuffing them into a big(ish) GLSL uniform variable.
- UniformQuadBatch(GL20) - Constructor for class playn.core.UniformQuadBatch
-
Creates a uniform quad batch with the default shader programs.
- UniformQuadBatch(GL20, UniformQuadBatch.Source) - Constructor for class playn.core.UniformQuadBatch
-
Creates a uniform quad batch with the supplied custom shader program builder.
- UniformQuadBatch.Source - Class in playn.core
-
The source for the stock quad batch shader program.
- UNKNOWN - Enum constant in enum class playn.core.Graphics.OrientationDetail
-
Current device orientation is not known.
- UNKNOWN - Enum constant in enum class playn.core.Key
- UNMANAGED - Static variable in class playn.core.Texture.Config
-
Default unmanaged texture configuration: unmanaged, no mipmaps, no repat, linear filters.
- UP - Enum constant in enum class playn.core.Key
- update - Variable in class playn.core.Game
-
A signal emitted on every simulation update.
- update(Clock) - Method in class playn.core.Game
-
Called on every simulation update.
- update(Image) - Method in class playn.core.Texture
-
Uploads
image
to this texture's GPU memory. - updateFlag(int, boolean) - Method in class playn.core.Event.Input
-
Sets or clears
flag
based onon
. - updateTexture() - Method in class playn.core.Image
-
Updates this image's default texture with the current contents of the image, and returns the texture.
- url - Variable in class playn.core.Net.Builder
- URL - Enum constant in enum class playn.core.Keyboard.TextType
- useVerboseFormat(boolean) - Method in interface playn.core.Json.Writer
-
Tells the writer whether to use a verbose, more human-readable
String
representation. - Util() - Constructor for class playn.core.Json.TypedArray.Util
V
- V - Enum constant in enum class playn.core.Key
- value - Variable in class playn.core.Net.Header
- valueOf(String) - Static method in enum class playn.core.Canvas.Composite
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class playn.core.Canvas.LineCap
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class playn.core.Canvas.LineJoin
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class playn.core.Font.Style
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class playn.core.Graphics.Orientation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class playn.core.Graphics.OrientationDetail
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class playn.core.Key
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class playn.core.Keyboard.TextType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class playn.core.Log.Level
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class playn.core.Mouse.ButtonEvent.Id
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class playn.core.Platform.Lifecycle
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class playn.core.Platform.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class playn.core.Pointer.Event.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class playn.core.TextBlock.Align
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class playn.core.Touch.Event.Kind
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class playn.core.Canvas.Composite
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class playn.core.Canvas.LineCap
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class playn.core.Canvas.LineJoin
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class playn.core.Font.Style
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class playn.core.Graphics.Orientation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class playn.core.Graphics.OrientationDetail
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class playn.core.Key
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class playn.core.Keyboard.TextType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class playn.core.Log.Level
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class playn.core.Mouse.ButtonEvent.Id
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class playn.core.Platform.Lifecycle
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class playn.core.Platform.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class playn.core.Pointer.Event.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class playn.core.TextBlock.Align
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class playn.core.Touch.Event.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- velocity - Variable in class playn.core.Mouse.WheelEvent
-
The velocity of the scroll wheel.
- VERT_ATTRS - Static variable in class playn.core.TriangleBatch.Source
-
The same-for-all-verts-in-a-quad attribute variables for our shader.
- VERT_ATTRS - Static variable in class playn.core.UniformQuadBatch.Source
-
Declares the attribute variables for our shader.
- VERT_EXTRACTDATA - Static variable in class playn.core.UniformQuadBatch.Source
-
Extracts the values from our data buffer.
- VERT_SETCOLOR - Static variable in class playn.core.TriangleBatch.Source
-
The shader code that computes
v_Color
. - VERT_SETCOLOR - Static variable in class playn.core.UniformQuadBatch.Source
-
The shader code that computes
v_Color
. - VERT_SETPOS - Static variable in class playn.core.TriangleBatch.Source
-
The shader code that computes
gl_Position
. - VERT_SETPOS - Static variable in class playn.core.UniformQuadBatch.Source
-
The shader code that computes
gl_Position
. - VERT_SETTEX - Static variable in class playn.core.TriangleBatch.Source
-
The shader code that computes
v_TexCoord
. - VERT_SETTEX - Static variable in class playn.core.UniformQuadBatch.Source
-
The shader code that computes
v_TexCoord
. - VERT_UNIFS - Static variable in class playn.core.TriangleBatch.Source
-
Declares the uniform variables for our shader.
- VERT_UNIFS - Static variable in class playn.core.UniformQuadBatch.Source
-
Declares the uniform variables for our shader.
- VERT_VARS - Static variable in class playn.core.TriangleBatch.Source
-
Declares the varying variables for our shader.
- VERT_VARS - Static variable in class playn.core.UniformQuadBatch.Source
-
Declares the varying variables for our shader.
- vertex() - Method in class playn.core.TriangleBatch.Source
-
Returns the source of the vertex shader program.
- vertex(UniformQuadBatch) - Method in class playn.core.UniformQuadBatch.Source
-
Returns the source to the vertex shader program.
- VERTICAL_BAR - Enum constant in enum class playn.core.Key
- viewSize - Variable in class playn.core.Graphics
-
The current size of the graphics viewport.
- volume() - Method in class playn.core.Sound
- volume() - Method in class playn.core.SoundImpl
- VOLUME_DOWN - Enum constant in enum class playn.core.Key
- VOLUME_MUTE - Enum constant in enum class playn.core.Key
- VOLUME_UP - Enum constant in enum class playn.core.Key
W
- W - Enum constant in enum class playn.core.Key
- warn(String) - Method in class playn.core.Log
-
Logs
msg
at the warn level. - warn(String, Object...) - Method in class playn.core.Log
-
Logs
msg
at the warn level. - warn(String, Throwable) - Method in class playn.core.Log
-
Logs
msg
ande
at the warn level. - WARN - Enum constant in enum class playn.core.Log.Level
- WheelEvent(int, double, float, float, float) - Constructor for class playn.core.Mouse.WheelEvent
- wheelEvents(Mouse.Event) - Static method in class playn.core.Mouse
-
Checks whether
event
is aWheelEvent
and returns it (casted appropriately) if so. - WheelSlot() - Constructor for class playn.core.Mouse.WheelSlot
- width - Variable in class playn.core.Canvas
-
The width of this canvas.
- width - Variable in class playn.core.TextWrap
-
The width at which the text is wrapped.
- width() - Method in interface playn.core.Canvas.Drawable
- width() - Method in class playn.core.Image
-
This image's width in display units.
- width() - Method in class playn.core.RenderTarget
-
The width of the framebuffer in pixels.
- width() - Method in class playn.core.Texture
- width() - Method in class playn.core.Tile
-
The width of this tile (in display units).
- WINDOW - Enum constant in enum class playn.core.Key
- WINDOWS - Enum constant in enum class playn.core.Key
- withAlpha(int, int) - Static method in class playn.core.Color
-
Returns a new color that's a copy of the given color, but with the new alpha value, in range [0, 255].
- withAntialias(boolean) - Method in class playn.core.TextFormat
-
Returns a clone of this text format with
antialias
configured as specified. - withFont(String, float) - Method in class playn.core.TextFormat
-
Returns a clone of this text format with the font configured as specified.
- withFont(String, Font.Style, float) - Method in class playn.core.TextFormat
-
Returns a clone of this text format with the font configured as specified.
- withFont(Font) - Method in class playn.core.TextFormat
-
Returns a clone of this text format with the font configured as specified.
- write() - Method in interface playn.core.Json.Writer
-
Completes this JSON writing session and returns the internal representation as a
String
. - write(JsonSink<T>) - Method in interface playn.core.Json.Array
-
Writes this object to a
JsonSink
. - write(JsonSink<T>) - Method in interface playn.core.Json.Object
-
Writes this object to a
JsonSink
.
X
- x - Variable in class playn.core.Event.XY
-
The screen x-coordinate associated with this event.
- x - Variable in class playn.core.Gradient.Radial
- x() - Method in class playn.core.Event.XY
- X - Enum constant in enum class playn.core.Key
- x0 - Variable in class playn.core.Gradient.Linear
- x1 - Variable in class playn.core.Gradient.Linear
- X1 - Enum constant in enum class playn.core.Mouse.ButtonEvent.Id
- X2 - Enum constant in enum class playn.core.Mouse.ButtonEvent.Id
- XOR - Enum constant in enum class playn.core.Canvas.Composite
-
A xor B.
- xscale() - Method in class playn.core.RenderTarget
-
The x-scale between display units and pixels for this target.
Y
- y - Variable in class playn.core.Event.XY
-
The screen y-coordinate associated with this event.
- y - Variable in class playn.core.Gradient.Radial
- y() - Method in class playn.core.Event.XY
- Y - Enum constant in enum class playn.core.Key
- y0 - Variable in class playn.core.Gradient.Linear
- y1 - Variable in class playn.core.Gradient.Linear
- YELLOW - Enum constant in enum class playn.core.Key
- yscale() - Method in class playn.core.RenderTarget
-
The y-scale between display units and pixels for this target.
Z
- Z - Enum constant in enum class playn.core.Key
- ZOOM_IN - Enum constant in enum class playn.core.Key
- ZOOM_OUT - Enum constant in enum class playn.core.Key
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Exec.invokeAsync(java.lang.Runnable)
.