edu.dhbw.andar.interfaces
Interface PreviewFrameSink
- All Known Implementing Classes:
- AndARRenderer
public interface PreviewFrameSink
- Author:
- Tobias Domhan
Method Summary |
java.util.concurrent.locks.ReentrantLock |
getFrameLock()
|
void |
setMode(int pMode)
sets the mode(either GL10.GL_RGB or GL10.GL_LUMINANCE) |
void |
setNextFrame(java.nio.ByteBuffer buf)
|
void |
setPreviewFrameSize(int textureSize,
int realWidth,
int realHeight)
Set the size of the texture(must be power of two) |
setNextFrame
void setNextFrame(java.nio.ByteBuffer buf)
getFrameLock
java.util.concurrent.locks.ReentrantLock getFrameLock()
setPreviewFrameSize
void setPreviewFrameSize(int textureSize,
int realWidth,
int realHeight)
- Set the size of the texture(must be power of two)
setMode
void setMode(int pMode)
- sets the mode(either GL10.GL_RGB or GL10.GL_LUMINANCE)
- Parameters:
pMode
-