aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/ogl/gldefs.h
diff options
context:
space:
mode:
authorKevin Rushforth <[email protected]>2004-10-29 16:21:22 +0000
committerKevin Rushforth <[email protected]>2004-10-29 16:21:22 +0000
commita4461c4fe84cf7cfd29677b5073e8b9ea41c3a4a (patch)
tree30724a1d54d3d7045c10ecdb4ba6b479e3c0da43 /src/native/ogl/gldefs.h
parent2ce93668c57e29a6d2ea992f8675afdd0719c820 (diff)
Submitted by: mikofclassx
Reviewed by: kcr Added new j3d.transparentOffScreen flag to allow transparent (alpha = 0) backgrounds for off-screen Canvas3D rendering. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@64 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/native/ogl/gldefs.h')
-rw-r--r--src/native/ogl/gldefs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/native/ogl/gldefs.h b/src/native/ogl/gldefs.h
index b1fbe7d..7d5b70b 100644
--- a/src/native/ogl/gldefs.h
+++ b/src/native/ogl/gldefs.h
@@ -520,6 +520,14 @@ typedef struct {
multisampling API to enable/disable scene antialiasing.
*/
jboolean implicit_multisample;
+
+ // by MIK OF CLASSX
+ /*
+ Used by transparentOffScreen feature.
+ This is the value of the alpha channel
+ of the background.
+ */
+ GLfloat alphaClearValue;
/* GL_SGIS_sharpen_texture */
jboolean textureSharpenAvailable;