Mesh.Builder.AddVertexType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| AddVertexType(Type) |
Obsolete.
Adds a vertex-buffer type to the mesh declaration. |
| AddVertexType(Element, Int32) |
Obsolete.
Adds a vertex-buffer layout and entry count to the mesh declaration. |
AddVertexType(Type)
Caution
deprecated
Adds a vertex-buffer type to the mesh declaration.
[Android.Runtime.Register("addVertexType", "(Landroid/renderscript/Type;)Landroid/renderscript/Mesh$Builder;", "GetAddVertexType_Landroid_renderscript_Type_Handler")]
[System.Obsolete("deprecated")]
public virtual Android.Renderscripts.Mesh.Builder? AddVertexType(Android.Renderscripts.Type? t);
[<Android.Runtime.Register("addVertexType", "(Landroid/renderscript/Type;)Landroid/renderscript/Mesh$Builder;", "GetAddVertexType_Landroid_renderscript_Type_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member AddVertexType : Android.Renderscripts.Type -> Android.Renderscripts.Mesh.Builder
override this.AddVertexType : Android.Renderscripts.Type -> Android.Renderscripts.Mesh.Builder
Parameters
- t
- Type
The type of the vertex allocation to create.
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
AddVertexType(Element, Int32)
Caution
deprecated
Adds a vertex-buffer layout and entry count to the mesh declaration.
[Android.Runtime.Register("addVertexType", "(Landroid/renderscript/Element;I)Landroid/renderscript/Mesh$Builder;", "GetAddVertexType_Landroid_renderscript_Element_IHandler")]
[System.Obsolete("deprecated")]
public virtual Android.Renderscripts.Mesh.Builder? AddVertexType(Android.Renderscripts.Element? e, int size);
[<Android.Runtime.Register("addVertexType", "(Landroid/renderscript/Element;I)Landroid/renderscript/Mesh$Builder;", "GetAddVertexType_Landroid_renderscript_Element_IHandler")>]
[<System.Obsolete("deprecated")>]
abstract member AddVertexType : Android.Renderscripts.Element * int -> Android.Renderscripts.Mesh.Builder
override this.AddVertexType : Android.Renderscripts.Element * int -> Android.Renderscripts.Mesh.Builder
Parameters
- e
- Element
The element layout for each vertex-buffer entry.
- size
- Int32
The number of entries in the vertex buffer.
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.