Type.CreateXY(RenderScript, Element, Int32, Int32) 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.
Utility function for creating basic 2D types.
[Android.Runtime.Register("createXY", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element;II)Landroid/renderscript/Type;", "")]
public static Android.Renderscripts.Type? CreateXY (Android.Renderscripts.RenderScript? rs, Android.Renderscripts.Element? e, int dimX, int dimY);
[<Android.Runtime.Register("createXY", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element;II)Landroid/renderscript/Type;", "")>]
static member CreateXY : Android.Renderscripts.RenderScript * Android.Renderscripts.Element * int * int -> Android.Renderscripts.Type
Parameters
- rs
- RenderScript
The RenderScript context
- e
- Element
The Element for the Type
- dimX
- Int32
The X dimension, must be > 0
- dimY
- Int32
The Y dimension, must be > 0
Returns
Type
- Attributes
Remarks
Utility function for creating basic 2D types. The type is created without mipmaps or cubemaps.
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.