Android.Renderscripts.Allocation.CreateCubemapFromCubeFaces Method
Creates a non-mipmapped cubemap Allocation for use as a sampler input from 6 Android.Graphics.Bitmap objects containing the cube faces.

Syntax

[Android.Runtime.Register("createCubemapFromCubeFaces", "(Landroid/renderscript/RenderScript;Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;)Landroid/renderscript/Allocation;", "")]
public static Allocation CreateCubemapFromCubeFaces (RenderScript rs, Android.Graphics.Bitmap xpos, Android.Graphics.Bitmap xneg, Android.Graphics.Bitmap ypos, Android.Graphics.Bitmap yneg, Android.Graphics.Bitmap zpos, Android.Graphics.Bitmap zneg)

Parameters

rs
Context to which the allocation will belong.
xpos
cubemap face in the positive x direction
xneg
cubemap face in the negative x direction
ypos
cubemap face in the positive y direction
yneg
cubemap face in the negative y direction
zpos
cubemap face in the positive z direction
zneg
cubemap face in the negative z direction

Returns

Documentation for this section has not yet been entered.

Remarks

Creates a non-mipmapped cubemap Allocation for use as a sampler input from 6 Android.Graphics.Bitmap objects containing the 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