Package com.banuba.sdk.internal.gl
Class GLScalableRectTexture
java.lang.Object
com.banuba.sdk.internal.gl.GLScalableRect
com.banuba.sdk.internal.gl.GLScalableRectTexture
- All Implemented Interfaces:
Scalable
,AutoCloseable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
draw
(float[] matrix) void
draw
(float[] matrix, float alpha) int
int
getWidth()
void
setScreenSize
(int width, int height) void
updatePosition
(int width, int height) Methods inherited from class com.banuba.sdk.internal.gl.GLScalableRect
getModelViewMatrix, setOffset, setPosition, setRotation, setScale
-
Constructor Details
-
GLScalableRectTexture
-
-
Method Details
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
close
- Throws:
Exception
-
draw
public void draw(float[] matrix) -
draw
public void draw(float[] matrix, float alpha) -
setScreenSize
public void setScreenSize(int width, int height) - Specified by:
setScreenSize
in classGLScalableRect
-
updatePosition
public void updatePosition(int width, int height)
-