语言

RenderScriptGL.SetSurfaceTexture(SurfaceTexture, Int32, Int32) 方法

定义

注意

deprecated

此成员已弃用。

[Android.Runtime.Register("setSurfaceTexture", "(Landroid/graphics/SurfaceTexture;II)V", "GetSetSurfaceTexture_Landroid_graphics_SurfaceTexture_IIHandler")]
[System.Obsolete("deprecated")]
public virtual void SetSurfaceTexture(Android.Graphics.SurfaceTexture? sur, int w, int h);
[<Android.Runtime.Register("setSurfaceTexture", "(Landroid/graphics/SurfaceTexture;II)V", "GetSetSurfaceTexture_Landroid_graphics_SurfaceTexture_IIHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetSurfaceTexture : Android.Graphics.SurfaceTexture * int * int -> unit
override this.SetSurfaceTexture : Android.Graphics.SurfaceTexture * int * int -> unit

参数

sur
SurfaceTexture

sur

w
Int32

w

h
Int32

h

特性

注解

此成员已弃用。 在 API 16 中绑定 os 图面

Java文档android.renderscript.RenderScriptGL.setSurfaceTexture(android.graphics.SurfaceTexture, int, int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于