public class GLBackgroundFrame implements GLReleasable
Constructor and Description |
---|
GLBackgroundFrame(int width,
int height) |
Modifier and Type | Method and Description |
---|---|
void |
createTexture() |
float |
getBackgroundAspect() |
float[] |
getMatrixMVP() |
float |
getRenderViewportAspect() |
int |
getTextureId() |
void |
release() |
void |
setBackground(VideoSourceListener.FrameHolder frameHolder,
ImageSize imageSize,
kotlin.jvm.functions.Function0<kotlin.Unit> onSizeChanged) |
void |
setBackgroundAspect(float p) |
void |
setRenderViewportAspect(float p) |
void |
setTextureId(int p) |
void |
update() |
release
public int getTextureId()
public void setTextureId(int p)
public float getRenderViewportAspect()
public void setRenderViewportAspect(float p)
public float getBackgroundAspect()
public void setBackgroundAspect(float p)
public float[] getMatrixMVP()
public void createTexture()
public void update()
public void setBackground(VideoSourceListener.FrameHolder frameHolder, ImageSize imageSize, kotlin.jvm.functions.Function0<kotlin.Unit> onSizeChanged)
public void release()