129 |
* C++, or'ed together with the ID, indicating |
* C++, or'ed together with the ID, indicating |
130 |
* a zero-argument renderable. |
* a zero-argument renderable. |
131 |
*/ |
*/ |
132 |
public static final int RENDERABLE0 = 0x0800000; |
public static final int RENDERABLE0 = 0x1000000; |
133 |
/** See RENDERABLE0. |
/** See RENDERABLE0. |
134 |
*/ |
*/ |
135 |
public static final int RENDERABLE1 = 0x1000000; |
public static final int RENDERABLE1 = 0x2000000; |
136 |
/** See RENDERABLE0. |
/** See RENDERABLE0. |
137 |
*/ |
*/ |
138 |
public static final int RENDERABLE2 = 0x2000000; |
public static final int RENDERABLE2 = 0x3000000; |
139 |
/** See RENDERABLE0. |
/** See RENDERABLE0. |
140 |
*/ |
*/ |
141 |
public static final int RENDERABLE3 = 0x3000000; |
public static final int RENDERABLE3 = 0x4000000; |
142 |
|
/** See RENDERABLE0. |
143 |
|
*/ |
144 |
|
public static final int RENDERABLEN = 0x5000000; |
145 |
|
|
146 |
static ArrayList queue = new ArrayList(); |
static ArrayList queue = new ArrayList(); |
147 |
|
|
252 |
} |
} |
253 |
static private native void deleteRenderable2(int id); |
static private native void deleteRenderable2(int id); |
254 |
|
|
255 |
/** The Java proxy representing a Renderable2 object. |
/** The Java proxy representing a Renderable3 object. |
256 |
*/ |
*/ |
257 |
static public abstract class Renderable3JavaObject extends JavaObject { |
static public abstract class Renderable3JavaObject extends JavaObject { |
258 |
public Renderable3JavaObject(int id) { super(id); } |
public Renderable3JavaObject(int id) { super(id); } |
265 |
} |
} |
266 |
static private native void deleteRenderable3(int id); |
static private native void deleteRenderable3(int id); |
267 |
|
|
268 |
|
/** The Java proxy representing a RenderableN object. |
269 |
|
*/ |
270 |
|
static public abstract class RenderableNJavaObject extends JavaObject { |
271 |
|
public RenderableNJavaObject(int id) { super(id); } |
272 |
|
public int putGL(VobScene vs, int[] cs) { |
273 |
|
return getId(); |
274 |
|
} |
275 |
|
protected void deleteObj() { |
276 |
|
deleteRenderableN(getId()); |
277 |
|
} |
278 |
|
} |
279 |
|
static private native void deleteRenderableN(int id); |
280 |
|
|
281 |
|
|
282 |
//--------- Renderable surface |
//--------- Renderable surface |
283 |
static public class RenderingSurface extends NonRenderableJavaObject { |
static public class RenderingSurface extends NonRenderableJavaObject { |
284 |
private RenderingSurface(int id) { super(id); } |
private RenderingSurface(int id) { super(id); } |