Capabilities and properties of buffers.
Capabilities and properties of buffers.
(->buffer-capabilities front-caps back-caps flip-contents)
Constructor.
Creates a new object for specifying buffering capabilities
front-caps - the capabilities of the front buffer; cannot be null - java.awt.ImageCapabilities
back-caps - the capabilities of the back and intermediate buffers; cannot be null - java.awt.ImageCapabilities
flip-contents - the contents of the back buffer after page-flipping, null if page flipping is not used (implies blitting) - java.awt.BufferCapabilities$FlipContents
throws: java.lang.IllegalArgumentException - if frontCaps or backCaps are null
Constructor. Creates a new object for specifying buffering capabilities front-caps - the capabilities of the front buffer; cannot be null - `java.awt.ImageCapabilities` back-caps - the capabilities of the back and intermediate buffers; cannot be null - `java.awt.ImageCapabilities` flip-contents - the contents of the back buffer after page-flipping, null if page flipping is not used (implies blitting) - `java.awt.BufferCapabilities$FlipContents` throws: java.lang.IllegalArgumentException - if frontCaps or backCaps are null
(clone this)
Description copied from class: Object
returns: a copy of this BufferCapabilities object. - java.lang.Object
Description copied from class: Object returns: a copy of this BufferCapabilities object. - `java.lang.Object`
(full-screen-required? this)
returns: whether page flipping is only available in full-screen mode. If this
is true, full-screen exclusive mode is required for
page-flipping. - boolean
returns: whether page flipping is only available in full-screen mode. If this is true, full-screen exclusive mode is required for page-flipping. - `boolean`
(get-back-buffer-capabilities this)
returns: the image capabilities of all back buffers (intermediate buffers
are considered back buffers) - java.awt.ImageCapabilities
returns: the image capabilities of all back buffers (intermediate buffers are considered back buffers) - `java.awt.ImageCapabilities`
(get-flip-contents this)
returns: the resulting contents of the back buffer after page-flipping.
This value is null when the isPageFlipping
returns false, implying blitting. It can be one of
FlipContents.UNDEFINED
(the assumed default), FlipContents.BACKGROUND,
FlipContents.PRIOR, or
FlipContents.COPIED. - java.awt.BufferCapabilities$FlipContents
returns: the resulting contents of the back buffer after page-flipping. This value is null when the isPageFlipping returns false, implying blitting. It can be one of FlipContents.UNDEFINED (the assumed default), FlipContents.BACKGROUND, FlipContents.PRIOR, or FlipContents.COPIED. - `java.awt.BufferCapabilities$FlipContents`
(get-front-buffer-capabilities this)
returns: the image capabilities of the front (displayed) buffer - java.awt.ImageCapabilities
returns: the image capabilities of the front (displayed) buffer - `java.awt.ImageCapabilities`
(multi-buffer-available? this)
returns: whether or not
page flipping can be performed using more than two buffers (one or more
intermediate buffers as well as the front and back buffer). - boolean
returns: whether or not page flipping can be performed using more than two buffers (one or more intermediate buffers as well as the front and back buffer). - `boolean`
(page-flipping? this)
returns: whether or not the buffer strategy uses page flipping; a set of
buffers that uses page flipping
can swap the contents internally between the front buffer and one or
more back buffers by switching the video pointer (or by copying memory
internally). A non-flipping set of
buffers uses blitting to copy the contents from one buffer to
another; when this is the case, getFlipContents returns
null - boolean
returns: whether or not the buffer strategy uses page flipping; a set of buffers that uses page flipping can swap the contents internally between the front buffer and one or more back buffers by switching the video pointer (or by copying memory internally). A non-flipping set of buffers uses blitting to copy the contents from one buffer to another; when this is the case, getFlipContents returns null - `boolean`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close