# YUVTextureRes VKFrame.getCameraTexture(WebGLRenderingContext ctx)

Start from base library version 2.20.0. Please remaining backward compatible.

with Promise style call: Not supported

Mini Program plugin: Not supported

Gets the current frame texture, currently only supports YUV Texture.

# parameter

# WebGLRenderingContext ctx

canvas

# Return value

# YUVTextureRes

Frame texture object