Allocation.CreateSized Méthode

Définition

Surcharges

Nom Description
CreateSized(RenderScript, Element, Int32)

Crée une allocation avec un nombre spécifié d’éléments donnés

CreateSized(RenderScript, Element, Int32, AllocationUsage)

Crée une allocation avec un nombre spécifié d’éléments donnés

CreateSized(RenderScript, Element, Int32)

Crée une allocation avec un nombre spécifié d’éléments donnés

[Android.Runtime.Register("createSized", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element;I)Landroid/renderscript/Allocation;", "")]
public static Android.Renderscripts.Allocation? CreateSized(Android.Renderscripts.RenderScript? rs, Android.Renderscripts.Element? e, int count);
[<Android.Runtime.Register("createSized", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element;I)Landroid/renderscript/Allocation;", "")>]
static member CreateSized : Android.Renderscripts.RenderScript * Android.Renderscripts.Element * int -> Android.Renderscripts.Allocation

Paramètres

rs
RenderScript

Contexte auquel appartiendra l’allocation.

e
Element

Élément à utiliser dans l’allocation

count
Int32

nombre d’éléments dans l’allocation

Retours

allocation

Attributs

Remarques

Crée une allocation avec un nombre spécifié d’éléments donnés

Documentation Java pour android.renderscript.Allocation.createSized(android.renderscript.RenderScript, android.renderscript.Element, int).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à

CreateSized(RenderScript, Element, Int32, AllocationUsage)

Crée une allocation avec un nombre spécifié d’éléments donnés

[Android.Runtime.Register("createSized", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element;II)Landroid/renderscript/Allocation;", "")]
public static Android.Renderscripts.Allocation? CreateSized(Android.Renderscripts.RenderScript? rs, Android.Renderscripts.Element? e, int count, Android.Renderscripts.AllocationUsage usage);
[<Android.Runtime.Register("createSized", "(Landroid/renderscript/RenderScript;Landroid/renderscript/Element;II)Landroid/renderscript/Allocation;", "")>]
static member CreateSized : Android.Renderscripts.RenderScript * Android.Renderscripts.Element * int * Android.Renderscripts.AllocationUsage -> Android.Renderscripts.Allocation

Paramètres

rs
RenderScript

Contexte auquel appartiendra l’allocation.

e
Element

Élément à utiliser dans l’allocation

count
Int32

nombre d’éléments dans l’allocation

usage
AllocationUsage

champ bit spécifiant la façon dont l’allocation est utilisée

Retours

allocation

Attributs

Remarques

Crée une allocation avec un nombre spécifié d’éléments donnés

Documentation Java pour android.renderscript.Allocation.createSized(android.renderscript.RenderScript, android.renderscript.Element, int, int).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à