Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ DrawUserIndexedPrimitives< T >() [2/5]

void Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawUserIndexedPrimitives< T > ( PrimitiveType primitiveType,
T[] vertexData,
int vertexOffset,
int numVertices,
int[] indexData,
int indexOffset,
int primitiveCount )
inline
Type Constraints
T :struct 
T :IVertexType 

Definition at line 1548 of file GraphicsDevice.cs.

1548 : struct, IVertexType
1549 {
1551 {
1552 _profileCapabilities.ThrowNotSupportedException(FrameworkResources.ProfileNoIndexElementSize32);
1553 }
1554 T[] vertexData2 = vertexData;
1555 DrawUserIndexedPrimitives(primitiveType, vertexData2, vertexOffset, numVertices, indexData, indexOffset, primitiveCount, VertexDeclarationFactory<T>.VertexDeclaration, (_D3DFORMAT)102);
1556 }

References Microsoft.Xna.Framework.Graphics.GraphicsDevice._profileCapabilities, Microsoft.Xna.Framework.Graphics.ProfileCapabilities.IndexElementSize32, Microsoft.Xna.Framework.FrameworkResources.ProfileNoIndexElementSize32, and Microsoft.Xna.Framework.Graphics.ProfileCapabilities.ThrowNotSupportedException().