|
|
@ -83,12 +83,12 @@ public final class Shader extends NativeObject { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
Geometry("geom"), |
|
|
|
Geometry("geom"), |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Controls tesselation factor (e.g how often a input patch should be |
|
|
|
* Controls tessellation factor (e.g how often a input patch should be |
|
|
|
* subdivided) |
|
|
|
* subdivided) |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
TessellationControl("tsctrl"), |
|
|
|
TessellationControl("tsctrl"), |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Controls tesselation transform (e.g similar to the vertex shader, but |
|
|
|
* Controls tessellation transform (e.g similar to the vertex shader, but |
|
|
|
* required to mix inputs manual) |
|
|
|
* required to mix inputs manual) |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
TessellationEvaluation("tseval"); |
|
|
|
TessellationEvaluation("tseval"); |
|
|
@ -127,7 +127,7 @@ public final class Shader extends NativeObject { |
|
|
|
protected ShaderSource(ShaderSource ss){ |
|
|
|
protected ShaderSource(ShaderSource ss){ |
|
|
|
super(ss.id); |
|
|
|
super(ss.id); |
|
|
|
// No data needs to be copied.
|
|
|
|
// No data needs to be copied.
|
|
|
|
// (This is a destructable clone)
|
|
|
|
// (This is a destructible clone)
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public ShaderSource(){ |
|
|
|
public ShaderSource(){ |
|
|
@ -227,7 +227,7 @@ public final class Shader extends NativeObject { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Do not use this constructor. Used for destructable clones only. |
|
|
|
* Do not use this constructor. Used for destructible clones only. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
protected Shader(Shader s){ |
|
|
|
protected Shader(Shader s){ |
|
|
|
super(s.id); |
|
|
|
super(s.id); |
|
|
|