Share via


RenderScriptGL.SetSurface(ISurfaceHolder, Int32, Int32) Method

Definition

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("setSurface", "(Landroid/view/SurfaceHolder;II)V", "GetSetSurface_Landroid_view_SurfaceHolder_IIHandler")]
[System.Obsolete("deprecated")]
public virtual void SetSurface (Android.Views.ISurfaceHolder? sur, int w, int h);
[<Android.Runtime.Register("setSurface", "(Landroid/view/SurfaceHolder;II)V", "GetSetSurface_Landroid_view_SurfaceHolder_IIHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetSurface : Android.Views.ISurfaceHolder * int * int -> unit
override this.SetSurface : Android.Views.ISurfaceHolder * int * int -> unit

Parameters

sur
ISurfaceHolder

sur

w
Int32

w

h
Int32

h

Attributes

Remarks

This member is deprecated. in API 16 Bind an os surface

Java documentation for android.renderscript.RenderScriptGL.setSurface(android.view.SurfaceHolder, int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to