public interface AliyunIRenderCallback
Modifier and Type | Method and Description |
---|---|
int |
needRenderCallback()
Sets the texture callbacks to be enabled.
|
int |
onCustomRender(int srcTextureID,
int width,
int height,
long frameTime)
The callback that outputs the texture id before adding effects to the video.
|
void |
onRenderDestroy()
render context destroy callback, call in render thread
|
void |
onRenderSetup()
render context init callback, call in render thread
|
int |
onTextureRender(int srcTextureID,
int width,
int height,
long frameTime)
The callback that outputs the texture id after adding effects to the video.
|
void onRenderSetup()
void onRenderDestroy()
int onCustomRender(int srcTextureID, int width, int height, long frameTime)
srcTextureID
- The old texture id.width
- The width of the texture.height
- The height of the texture.frameTime
- frame render time relative to editor timeline in microsecond unitint onTextureRender(int srcTextureID, int width, int height, long frameTime)
srcTextureID
- The old texture id.width
- The width of the texture.height
- The height of the texture.frameTime
- frame render time relative to editor timeline in microsecond unitint needRenderCallback()