44 |
*/ |
*/ |
45 |
private ArrayList depends; |
private ArrayList depends; |
46 |
|
|
47 |
|
/** Add an object on whose C++ representation this paper |
48 |
|
* depends. For instance, if one of the setup codes uses |
49 |
|
* a texture id of a given GL.Texture object, then that |
50 |
|
* object should be added here. |
51 |
|
*/ |
52 |
|
public void addDepend(Object o) { depends.add(o); } |
53 |
|
|
54 |
public class Pass { |
public class Pass { |
55 |
private int index; |
private int index; |
56 |
private Pass(int index) { this.index = index; } |
private Pass(int index) { this.index = index; } |
72 |
public void putEmbossTexGen(int ind, float[] matrix, float eps) { |
public void putEmbossTexGen(int ind, float[] matrix, float eps) { |
73 |
impl_Pass_putEmbossTexGen(c_id, index, ind, matrix, eps); |
impl_Pass_putEmbossTexGen(c_id, index, ind, matrix, eps); |
74 |
} |
} |
75 |
|
|
76 |
|
/** Add an object on whose C++ representation this paper |
77 |
|
* depends. For instance, if one of the setup codes uses |
78 |
|
* a texture id of a given GL.Texture object, then that |
79 |
|
* object should be added here. |
80 |
|
*/ |
81 |
|
public void addDepend(Object o) { |
82 |
|
Paper.this.addDepend(o); |
83 |
|
} |
84 |
} |
} |
85 |
|
|
86 |
public int getNPasses() { return impl_getNPasses(c_id); } |
public int getNPasses() { return impl_getNPasses(c_id); } |