public interface IProgram
| Modifier and Type | Method and Description |
|---|---|
void |
clip(int inWidth,
int inHeight,
int outWidth,
int outHeight,
int clipMode)
clip the input texture width height to output width height
|
void |
drawFrame()
draw current bind texture
|
void |
enableWaterMarker(boolean enable)
enable water marker
|
void |
flipHorizontal()
flip current texture horizontally
|
void |
flipVertical()
flip current texture vertically
|
int |
programType()
get program input data type
|
void |
release()
release current program
|
void |
rotation(int angle)
rotate current texture for angle degrees clockwise
|
void |
useProgram()
active current program for OpenGL ES render
|
void useProgram()
void flipVertical()
void flipHorizontal()
void rotation(int angle)
angle - rotate angle (0, 90, 180, 270)void enableWaterMarker(boolean enable)
enable - true: enable false: disablevoid clip(int inWidth,
int inHeight,
int outWidth,
int outHeight,
int clipMode)
inWidth - input texture widthinHeight - input texture heightoutWidth - output texture widthoutHeight - output texture heightvoid drawFrame()
int programType()
Constant.ProgramTypevoid release()