createRenderTarget method

Future createRenderTarget(
  1. double width,
  2. double height,
  3. int textureHandle
)

Implementation

Future createRenderTarget(
    double width, double height, int textureHandle) async {
  await withVoidCallback((callback) => create_render_target_ffi(
      _viewer!, textureHandle, width.toInt(), height.toInt(), callback));
}