Table of Contents

Class SplitExtensions

Namespace
Stride.Extensions
Assembly
Stride.Rendering.dll
public static class SplitExtensions
Inheritance
SplitExtensions

Methods

SplitMesh(MeshDraw, bool)

Split the mesh if it has strictly more than 65535 vertices (max index = 65534) on a plaftorm that does not support 32 bits indices.

public static List<MeshDraw> SplitMesh(MeshDraw meshDrawData, bool can32bitIndex)

Parameters

meshDrawData MeshDraw

The mesh to analyze.

can32bitIndex bool

A flag stating if 32 bit indices are allowed.

Returns

List<MeshDraw>

A list of meshes.

SplitMeshes(List<Mesh>, bool)

public static List<Mesh> SplitMeshes(List<Mesh> meshes, bool can32bitIndex)

Parameters

meshes List<Mesh>
can32bitIndex bool

Returns

List<Mesh>