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

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

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

Definition at line 1564 of file GraphicsDevice.cs.

1564 : struct
1565 {
1567 {
1568 _profileCapabilities.ThrowNotSupportedException(FrameworkResources.ProfileNoIndexElementSize32);
1569 }
1570 DrawUserIndexedPrimitives(primitiveType, vertexData, vertexOffset, numVertices, indexData, indexOffset, primitiveCount, vertexDeclaration, (_D3DFORMAT)102);
1571 }

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().