Udostępnij za pośrednictwem


Mesh.TriangleMeshBuilder.Create(Boolean) Method

Definition

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("create", "(Z)Landroid/renderscript/Mesh;", "GetCreate_ZHandler")]
[System.Obsolete("deprecated")]
public virtual Android.Renderscripts.Mesh? Create (bool uploadToBufferObject);
[<Android.Runtime.Register("create", "(Z)Landroid/renderscript/Mesh;", "GetCreate_ZHandler")>]
[<System.Obsolete("deprecated")>]
abstract member Create : bool -> Android.Renderscripts.Mesh
override this.Create : bool -> Android.Renderscripts.Mesh

Parameters

uploadToBufferObject
Boolean

specifies whether the vertex data is to be uploaded into the buffer object indicating that it's likely not going to be modified and rendered many times. Alternatively, it indicates the mesh data will be updated frequently and remain in script accessible memory

Returns

Attributes

Remarks

This member is deprecated. in API 16 Creates the mesh object from the current state of the builder

Java documentation for android.renderscript.Mesh.TriangleMeshBuilder.create(boolean).

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