Language

Mesh.AllocationBuilder.AddIndexSetAllocation Method

Definition

Caution

deprecated

Adds a primitive set with an optional existing index allocation.

[Android.Runtime.Register("addIndexSetAllocation", "(Landroid/renderscript/Allocation;Landroid/renderscript/Mesh$Primitive;)Landroid/renderscript/Mesh$AllocationBuilder;", "GetAddIndexSetAllocation_Landroid_renderscript_Allocation_Landroid_renderscript_Mesh_Primitive_Handler")]
[System.Obsolete("deprecated")]
public virtual Android.Renderscripts.Mesh.AllocationBuilder? AddIndexSetAllocation(Android.Renderscripts.Allocation? a, Android.Renderscripts.Mesh.Primitive? p);
[<Android.Runtime.Register("addIndexSetAllocation", "(Landroid/renderscript/Allocation;Landroid/renderscript/Mesh$Primitive;)Landroid/renderscript/Mesh$AllocationBuilder;", "GetAddIndexSetAllocation_Landroid_renderscript_Allocation_Landroid_renderscript_Mesh_Primitive_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member AddIndexSetAllocation : Android.Renderscripts.Allocation * Android.Renderscripts.Mesh.Primitive -> Android.Renderscripts.Mesh.AllocationBuilder
override this.AddIndexSetAllocation : Android.Renderscripts.Allocation * Android.Renderscripts.Mesh.Primitive -> Android.Renderscripts.Mesh.AllocationBuilder

Parameters

a
Allocation

The index allocation, or null for a primitive set without an index buffer.

p
Mesh.Primitive

The primitive topology for the set.

Returns

This builder.

Attributes

Remarks

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