Allocation.Surface Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the handle to a raw buffer that is being managed by the screen
compositor. -or- Associate a android.view.Surface
with this Allocation.
public virtual Android.Views.Surface? Surface { [Android.Runtime.Register("getSurface", "()Landroid/view/Surface;", "GetGetSurfaceHandler")] get; [Android.Runtime.Register("setSurface", "(Landroid/view/Surface;)V", "GetSetSurface_Landroid_view_Surface_Handler")] set; }
[<get: Android.Runtime.Register("getSurface", "()Landroid/view/Surface;", "GetGetSurfaceHandler")>]
[<set: Android.Runtime.Register("setSurface", "(Landroid/view/Surface;)V", "GetSetSurface_Landroid_view_Surface_Handler")>]
member this.Surface : Android.Views.Surface with get, set
Property Value
Surface object associated with allocation
- Attributes
Remarks
Property getter documentation:
Returns the handle to a raw buffer that is being managed by the screen compositor. This operation is only valid for Allocations with #USAGE_IO_INPUT
.
Java documentation for android.renderscript.Allocation.getSurface()
.
Property setter documentation:
Associate a android.view.Surface
with this Allocation. This operation is only valid for Allocations with #USAGE_IO_OUTPUT
.
Java documentation for android.renderscript.Allocation.setSurface(android.view.Surface)
.
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.