From dce77f00239074d33bb7dca4009e45ba87141093 Mon Sep 17 00:00:00 2001
From: Rami Santina <rami.santina@gmail.com>
Date: Sun, 5 Jun 2011 22:05:38 +0300
Subject: Graph: updated inclass documentations

---
 src/jogl/classes/jogamp/graph/curve/opengl/RegionFactory.java | 10 ++++++++++
 1 file changed, 10 insertions(+)

(limited to 'src/jogl/classes/jogamp/graph/curve/opengl/RegionFactory.java')

diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/RegionFactory.java b/src/jogl/classes/jogamp/graph/curve/opengl/RegionFactory.java
index e33a78ed8..e73b0cb85 100755
--- a/src/jogl/classes/jogamp/graph/curve/opengl/RegionFactory.java
+++ b/src/jogl/classes/jogamp/graph/curve/opengl/RegionFactory.java
@@ -54,10 +54,20 @@ public class RegionFactory {
         }
     }
         
+    /** Create a Single Pass Region using the passed render mode
+     * @param renderModes bit-field of modes, e.g. {@link Region#VARIABLE_CURVE_WEIGHT_BIT}, 
+     * {@link Region#VBAA_RENDERING_BIT}
+     * @return
+     */
     public static GLRegion createSinglePass(int renderModes) {
         return new VBORegionSPES2(renderModes);
     }
     
+    /** Create a Two Pass (VBAA) Region using the passed render mode
+     * @param renderModes bit-field of modes, e.g. {@link Region#VARIABLE_CURVE_WEIGHT_BIT}, 
+     * {@link Region#VBAA_RENDERING_BIT}
+     * @return
+     */
     public static GLRegion createTwoPass(int renderModes, int textureUnit) {
         return new VBORegion2PES2(renderModes, textureUnit);
     }
-- 
cgit v1.2.3