From daaabb41963d7b186efbf6fcc02d24c71a527f73 Mon Sep 17 00:00:00 2001
From: Kevin Rushforth
BLEND_SRC_COLOR
,
- BLEND_ONE_MINUS_SRC_COLOR
, BLEND_DST_COLOR
,
- BLEND_ONE_MINUS_DST_COLOR
, etc.BLEND_SRC_COLOR
,
+ BLEND_ONE_MINUS_SRC_COLOR
,
+ BLEND_DST_COLOR
,
+ BLEND_ONE_MINUS_DST_COLOR
.We propose to add a
-new StencilSize attribute to GraphicsConfigTemplate3D that will allow
+new stencilSize attribute to GraphicsConfigTemplate3D that will allow
an application to create a Canvas3D (on-screen or off-screen) with a
stencil buffer. We also propose to add new attributes to the
RenderingAttributes object that will allow an application to control
@@ -30,13 +30,19 @@ equivalent OpenGL methods. Note that since multipass support is not yet
available, applications wishing to use stencil will need to make use of
OrderedGroup (or use mixed-mode / immediate-mode rendering).
See the new javadoc for more information: GraphicsConfigTemplate3D.setStencilSize, +RenderingAttributes. +
The proposed API changes are:
GraphicsConfigTemplate3D+
method: setStencilSize(int) // default=0
RenderingAttributes
method: setStencilEnable(boolean enable)
method: setStencilOp(int fail, int zfail, int zpass)
method: setStencilFunc(int func, int ref, int mask)
method: setStencilMask(int mask)
GraphicsConfigTemplate3D
method: setStencilSize(int) // default=0
RenderingAttributes
fields: ALLOW_STENCIL_ATTRIBUTES_READ/WRITE
fields: STENCIL_KEEP, STENCIL_ZERO, STENCIL_REPLACE,
fields: STENCIL_INCR, STENCIL_DECR, STENCIL_INVERT
method: setStencilEnable(boolean enable)
method: setStencilOp(int fail, int zfail, int zpass)
method: setStencilFunction(int func, int ref, int mask)
method: setStencilWriteMask(int mask)
Issues:
--
cgit v1.2.3