aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/graph/curve
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-08-01 18:57:41 +0200
committerSven Gothel <[email protected]>2023-08-01 18:57:41 +0200
commitde4767e90f752cb9804403fa4ac775394bb45324 (patch)
tree34c9f5cc1da976e36fe946e5aa6e05113474699f /src/jogl/classes/com/jogamp/graph/curve
parent285459363469e60df9db51a4c0485ec21d4e04ae (diff)
Graph Add {GLRegion, GraphShape}.setTextureUnit(int): Allowing to set texture unit after ctor
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph/curve')
-rw-r--r--src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java b/src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java
index 2864f48bb..c282a4b92 100644
--- a/src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java
+++ b/src/jogl/classes/com/jogamp/graph/curve/opengl/GLRegion.java
@@ -356,6 +356,9 @@ public abstract class GLRegion extends Region {
}
}
+ /** Set the 2nd pass texture unit. */
+ public abstract void setTextureUnit(final int pass2TexUnit);
+
@Override
protected final void pushVertex(final Vec3f coords, final Vec3f texParams, final Vec4f rgba) {
// NIO array[3] is much slows than group/single