VKFrame.getCameraTexture

Object VKFrame.getCameraTexture(WebGLRenderingContext gl)

基础库 2.20.0 开始支持,低版本需做兼容处理

小程序插件:支持,需要小程序基础库版本不低于 2.20.0

功能描述

获取当前帧纹理,目前只支持 YUV 纹理。

参数

WebGLRenderingContext gl

画布

返回值

Object

帧纹理对象

属性 类型 说明
yTexture WebGLTexture Y 分量纹理
uvTexture WebGLTexture UV 分量纹理
posted on 2025-01-13 08:16  AtlasLapetos  阅读(4)  评论(0)    收藏  举报