![]() |
Paradox Game Engine
v1.0.0 beta06
|
Classes | |
struct | IndexMappingResult |
struct | VertexKey |
class | VertexKeyEqualityComparer |
Static Public Member Functions | |
static unsafe void | GenerateIndexBuffer (this MeshDrawData meshData) |
Generates an index buffer for this mesh data. More... | |
static unsafe bool | CompactIndexBuffer (this MeshDrawData meshData) |
Compacts the index buffer from 32 bits to 16 bits per index, if possible. More... | |
static unsafe void | GenerateIndexBufferAEN (this MeshDrawData meshData) |
Generates the index buffer with dominant edge and vertex informations. Each triangle gets its indices expanded to 12 control points, with 0 to 2 being original triangle, 3 to 8 being dominant edges and 9 to 11 being dominant vertices. More... | |
static unsafe IndexMappingResult | GenerateIndexMapping (this VertexBufferBindingData vertexBufferBinding, params string[] usages) |
Generates an index mapping with the specified vertex elements. If no vertex elements are specified, use the whole vertex. More... | |
Definition at line 14 of file IndexExtensions.cs.
|
static |
Compacts the index buffer from 32 bits to 16 bits per index, if possible.
meshData | The mesh data. |
System.NotImplementedException |
Definition at line 61 of file IndexExtensions.cs.
References SiliconStudio.Paradox.Graphics.Data.IndexBufferBindingData.Buffer, SiliconStudio.Paradox.Effects.Data.MeshDrawData.IndexBuffer, SiliconStudio.Paradox.Graphics.Data.IndexBufferBindingData.Is32Bit, and SiliconStudio.Paradox.Effects.Data.MeshDrawData.VertexBuffers.
|
static |
Generates an index buffer for this mesh data.
meshData | The mesh data. |
Definition at line 20 of file IndexExtensions.cs.
References SiliconStudio.Paradox.Effects.Data.MeshDrawData.IndexBuffer, and SiliconStudio.Paradox.Effects.Data.MeshDrawData.VertexBuffers.
|
static |
Generates the index buffer with dominant edge and vertex informations. Each triangle gets its indices expanded to 12 control points, with 0 to 2 being original triangle, 3 to 8 being dominant edges and 9 to 11 being dominant vertices.
meshData | The mesh data. |
Definition at line 106 of file IndexExtensions.cs.
References SiliconStudio.Paradox.Effects.Data.MeshDrawData.IndexBuffer, and SiliconStudio.Paradox.Effects.Data.MeshDrawData.VertexBuffers.
|
static |
Generates an index mapping with the specified vertex elements. If no vertex elements are specified, use the whole vertex.
vertexBufferBinding | The vertex buffer binding. |
usages | The vertex element usages to consider. |
Definition at line 269 of file IndexExtensions.cs.