AllocationAdapter.Create1D(RenderScript, Allocation) Method
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.
Creates a one-dimensional view with the base allocation's element and X dimension.
[Android.Runtime.Register("create1D", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Allocation;)Landroid/renderscript/AllocationAdapter;", "")]
public static Android.Renderscripts.AllocationAdapter? Create1D(Android.Renderscripts.RenderScript? rs, Android.Renderscripts.Allocation? a);
[<Android.Runtime.Register("create1D", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Allocation;)Landroid/renderscript/AllocationAdapter;", "")>]
static member Create1D : Android.Renderscripts.RenderScript * Android.Renderscripts.Allocation -> Android.Renderscripts.AllocationAdapter
Parameters
- rs
- RenderScript
The RenderScript context that owns the adapter.
The base allocation whose storage is viewed.
Returns
The adapter viewing the base allocation through a one-dimensional window.
- Attributes
Remarks
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.