Android.Renderscripts.Allocation.CreateCubemapFromBitmap Method
Creates a non-mipmapped cubemap Allocation for use as a graphics texture from a Android.Graphics.Bitmap containing the horizontal list of cube faces.

Syntax

[Android.Runtime.Register("createCubemapFromBitmap", "(Landroid/renderscript/RenderScript;Landroid/graphics/Bitmap;)Landroid/renderscript/Allocation;", "")]
public static Allocation CreateCubemapFromBitmap (RenderScript rs, Android.Graphics.Bitmap b)

Parameters

rs
Context to which the allocation will belong.
b
bitmap with cubemap faces layed out in the following format: right, left, top, bottom, front, back

Returns

Documentation for this section has not yet been entered.

Remarks

Creates a non-mipmapped cubemap Allocation for use as a graphics texture from a Android.Graphics.Bitmap containing the horizontal list of cube faces. Each face must be a square, have the same size as all other faces, and have a width that is a power of 2.

[Android Documentation]

Requirements

Namespace: Android.Renderscripts
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11