mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 09:39:19 +01:00
PGL: update comment
This commit is contained in:
@@ -1111,12 +1111,12 @@ public class PGraphics extends PImage implements PConstants {
|
||||
* by not checking for errors while running. Undo with hint(ENABLE_OPENGL_ERROR_REPORT).
|
||||
* <br/> <br/>
|
||||
* hint(ENABLE_DEPTH_READING) - Depth and stencil buffers in P2D/P3D will be
|
||||
* downsampled to make PGL#getDepthValue, PGL#getStencilValue and PGL#readPixels
|
||||
* work with multisampling. Enabling this introduces some overhead, so if you
|
||||
* experience bad performance, disable multisampling with noSmooth() instead.
|
||||
* This hint is not intended to be enabled and disabled repeatedely, so call this
|
||||
* once in setup() or after creating your PGraphics2D/3D. You can restore the
|
||||
* default with hint(DISABLE_DEPTH_READING) if you don't plan to read depth from
|
||||
* downsampled to make PGL#readPixels work with multisampling. Enabling this
|
||||
* introduces some overhead, so if you experience bad performance, disable
|
||||
* multisampling with noSmooth() instead. This hint is not intended to be
|
||||
* enabled and disabled repeatedely, so call this once in setup() or after
|
||||
* creating your PGraphics2D/3D. You can restore the default with
|
||||
* hint(DISABLE_DEPTH_READING) if you don't plan to read depth from
|
||||
* this PGraphics anymore.
|
||||
* <br/> <br/>
|
||||
* As of release 0149, unhint() has been removed in favor of adding
|
||||
|
||||
Reference in New Issue
Block a user