![]() |
Paradox Game Engine
v1.0.0 beta06
|
Static Public Member Functions | |
static List< MeshData > | SplitMeshes (List< MeshData > meshes, bool can32bitIndex) |
static unsafe List< MeshDrawData > | SplitMesh (MeshDrawData meshDrawData, bool can32bitIndex) |
Split the mesh if it has strictly more than 65535 vertices (max index = 65534) on a plaftorm that does not support 32 bits indices. More... | |
Definition at line 13 of file SplitExtensions.cs.
|
static |
Split the mesh if it has strictly more than 65535 vertices (max index = 65534) on a plaftorm that does not support 32 bits indices.
meshDrawData | The mesh to analyze. |
can32bitIndex | A flag stating if 32 bit indices are allowed. |
Definition at line 52 of file SplitExtensions.cs.
References SiliconStudio.Paradox.Graphics.Data.IndexBufferBindingData.Buffer, SiliconStudio.Paradox.Graphics.Data.VertexBufferBindingData.Buffer, SiliconStudio.Paradox.Effects.Data.MeshDrawData.IndexBuffer, SiliconStudio.Paradox.Graphics.Data.IndexBufferBindingData.Is32Bit, SiliconStudio.Paradox.Effects.Data.MeshDrawData.PrimitiveType, and SiliconStudio.Paradox.Effects.Data.MeshDrawData.VertexBuffers.
|
static |
Definition at line 15 of file SplitExtensions.cs.