462 |
|
|
463 |
/** Read into this texture from screen. |
/** Read into this texture from screen. |
464 |
*/ |
*/ |
465 |
public void copyTexImage2D(String buffer, |
public void copyTexImage2D(Window win, String buffer, |
466 |
String target, int level, |
String target, int level, |
467 |
String internalFormat, int x, int y, |
String internalFormat, int x, int y, |
468 |
int w, int h, int border) { |
int w, int h, int border) { |
469 |
impl_Texture_copyTexImage2D(getId(), buffer, target, |
impl_Texture_copyTexImage2D(getId(), win.getId(), |
470 |
|
buffer, target, |
471 |
level, internalFormat, x, y, w, h, |
level, internalFormat, x, y, w, h, |
472 |
border); |
border); |
473 |
} |
} |
494 |
static private native void impl_Texture_downsampleInto(int id, int intoid, String target, |
static private native void impl_Texture_downsampleInto(int id, int intoid, String target, |
495 |
int level, String internalFormat, String transferformat); |
int level, String internalFormat, String transferformat); |
496 |
static private native void impl_Texture_copyTexImage2D( |
static private native void impl_Texture_copyTexImage2D( |
497 |
int id, String buffer, |
int id, int wid, String buffer, |
498 |
String target, int level, |
String target, int level, |
499 |
String internalFormat, int x, int y, |
String internalFormat, int x, int y, |
500 |
int w, int h, int border) ; |
int w, int h, int border) ; |