public void DrawVertexPrimitiveList(Vertex3DT2[] vertices, PrimitiveType pType) { ushort[] indexList = new ushort[vertices.Length]; for (ushort i = 0; i < vertices.Length; i++) indexList[i] = i; DrawVertexPrimitiveList(vertices, indexList, pType); }
public void SetVertexT2(uint nr, Vertex3DT2 vert) { MeshBuffer_SetVertex2T(_raw, nr, vert.Raw); }
public void DrawVertexPrimitiveList(Vertex3DT2[] vertices, ushort[] indexList, int triangleCount, PrimitiveType pType) { DrawVertexPrimitiveList(vertices, vertices.Length, indexList, triangleCount, pType); }
public void DrawVertexPrimitiveList(Vertex3DT2[] vertices, ushort[] indexList, PrimitiveType pType) { DrawVertexPrimitiveList(vertices, indexList, vertices.Length / 3, pType); }
public void DrawIndexedTriangleList(Vertex3DT2[] vertices) { ushort[] indexList = new ushort[vertices.Length]; for (ushort i = 0; i < vertices.Length; i++) indexList[i] = i; DrawIndexedTriangleList(vertices, indexList); }
public void DrawVertexPrimitiveList(Vertex3DT2[] vertices, int vertexCount, ushort[] indexList, int triangleCount, PrimitiveType pType) { IntPtr[] rawlist = new IntPtr[vertexCount]; for (int i = 0; i < rawlist.Length; i++) rawlist[i] = vertices[i].Raw; VideoDriver_DrawVertexPrimitiveList(_raw, rawlist, vertexCount, indexList, triangleCount, VertexType.T2Coords, pType); }
public void DrawIndexedTriangleList(Vertex3DT2[] vertices, ushort[] indexList) { DrawIndexedTriangleList(vertices, vertices.Length, indexList, vertices.Length / 3); }
public void DrawIndexedTriangleList(Vertex3DT2[] vertices, int vertexCount, ushort[] indexList, int triangleCount) { IntPtr[] rawlist = new IntPtr[vertexCount]; for (int i = 0; i < rawlist.Length; i++) rawlist[i] = vertices[i].Raw; VideoDriver_DrawIndexedTriangleListA(_raw, rawlist, vertexCount, indexList, triangleCount); }
public void DrawIndexedTriangleFan(Vertex3DT2[] vertices) { ushort[] indexFan = new ushort[vertices.Length]; for (ushort i = 0; i < vertices.Length; i++) indexFan[i] = i; DrawIndexedTriangleFan(vertices, indexFan); }
public void DrawIndexedTriangleFan(Vertex3DT2[] vertices, ushort[] indexFan) { DrawIndexedTriangleFan(vertices, vertices.Length, indexFan, vertices.Length / 3); }
public void DrawIndexedTriangleFan(Vertex3DT2[] vertices, int vertexCount, ushort[] indexFan, int triangleCount) { IntPtr[] rawFan = new IntPtr[vertexCount]; for (int i = 0; i < vertexCount; i++) rawFan[i] = vertices[i].Raw; VideoDriver_DrawIndexedTriangleFanA(_raw, rawFan, vertexCount, indexFan, triangleCount); }