Partager via


Allocation.CreateCubemapFromCubeFaces Method

Definition

Overloads

CreateCubemapFromCubeFaces(RenderScript, Bitmap, Bitmap, Bitmap, Bitmap, Bitmap, Bitmap)

Creates a non-mipmapped cubemap Allocation for use as a sampler input from 6 android.graphics.Bitmap objects containing the cube faces.

CreateCubemapFromCubeFaces(RenderScript, Bitmap, Bitmap, Bitmap, Bitmap, Bitmap, Bitmap, Allocation+MipmapControl, AllocationUsage)

Creates a non-mipmapped cubemap Allocation for use as a sampler input from 6 android.graphics.Bitmap objects containing the cube faces.

CreateCubemapFromCubeFaces(RenderScript, Bitmap, Bitmap, Bitmap, Bitmap, Bitmap, Bitmap)

Creates a non-mipmapped cubemap Allocation for use as a sampler input from 6 android.graphics.Bitmap objects containing the cube faces.

[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 Android.Renderscripts.Allocation? CreateCubemapFromCubeFaces (Android.Renderscripts.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);
[<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;", "")>]
static member CreateCubemapFromCubeFaces : Android.Renderscripts.RenderScript * Android.Graphics.Bitmap * Android.Graphics.Bitmap * Android.Graphics.Bitmap * Android.Graphics.Bitmap * Android.Graphics.Bitmap * Android.Graphics.Bitmap -> Android.Renderscripts.Allocation

Parameters

rs
RenderScript

Context to which the allocation will belong.

xpos
Bitmap

cubemap face in the positive x direction

xneg
Bitmap

cubemap face in the negative x direction

ypos
Bitmap

cubemap face in the positive y direction

yneg
Bitmap

cubemap face in the negative y direction

zpos
Bitmap

cubemap face in the positive z direction

zneg
Bitmap

cubemap face in the negative z direction

Returns

allocation containing cubemap data

Attributes

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.

Java documentation for android.renderscript.Allocation.createCubemapFromCubeFaces(android.renderscript.RenderScript, android.graphics.Bitmap, android.graphics.Bitmap, android.graphics.Bitmap, android.graphics.Bitmap, android.graphics.Bitmap, android.graphics.Bitmap).

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.

Applies to

CreateCubemapFromCubeFaces(RenderScript, Bitmap, Bitmap, Bitmap, Bitmap, Bitmap, Bitmap, Allocation+MipmapControl, AllocationUsage)

Creates a non-mipmapped cubemap Allocation for use as a sampler input from 6 android.graphics.Bitmap objects containing the cube faces.

[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$MipmapControl;I)Landroid/renderscript/Allocation;", "")]
public static Android.Renderscripts.Allocation? CreateCubemapFromCubeFaces (Android.Renderscripts.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, Android.Renderscripts.Allocation.MipmapControl? mips, Android.Renderscripts.AllocationUsage usage);
[<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$MipmapControl;I)Landroid/renderscript/Allocation;", "")>]
static member CreateCubemapFromCubeFaces : Android.Renderscripts.RenderScript * Android.Graphics.Bitmap * Android.Graphics.Bitmap * Android.Graphics.Bitmap * Android.Graphics.Bitmap * Android.Graphics.Bitmap * Android.Graphics.Bitmap * Android.Renderscripts.Allocation.MipmapControl * Android.Renderscripts.AllocationUsage -> Android.Renderscripts.Allocation

Parameters

rs
RenderScript

Context to which the allocation will belong.

xpos
Bitmap

cubemap face in the positive x direction

xneg
Bitmap

cubemap face in the negative x direction

ypos
Bitmap

cubemap face in the positive y direction

yneg
Bitmap

cubemap face in the negative y direction

zpos
Bitmap

cubemap face in the positive z direction

zneg
Bitmap

cubemap face in the negative z direction

mips
Allocation.MipmapControl

specifies desired mipmap behaviour for the cubemap

usage
AllocationUsage

bit field specifying how the cubemap is utilized

Returns

allocation containing cubemap data

Attributes

Remarks

Java documentation for android.renderscript.Allocation.createCubemapFromCubeFaces(android.renderscript.RenderScript, android.graphics.Bitmap, android.graphics.Bitmap, android.graphics.Bitmap, android.graphics.Bitmap, android.graphics.Bitmap, android.graphics.Bitmap).

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.

Applies to