共用方式為


GraphicsDevice.DrawUserIndexedPrimitives Method

Renders geometric primitives.

Overload List

Name Description
GraphicsDevice.DrawUserIndexedPrimitives (PrimitiveType, T[], Int32, Int32, Int16[], Int32, Int32) Renders indexed primitives from a 16-bit index buffer and other related input parameters.
GraphicsDevice.DrawUserIndexedPrimitives (PrimitiveType, T[], Int32, Int32, Int16[], Int32, Int32, VertexDeclaration) Renders indexed primitives from a 16-bit index buffer, a vertex declaration, and other related input parameters.
GraphicsDevice.DrawUserIndexedPrimitives (PrimitiveType, T[], Int32, Int32, Int32[], Int32, Int32) Renders indexed primitives from a 32-bit index buffer and other related input parameters.
GraphicsDevice.DrawUserIndexedPrimitives (PrimitiveType, T[], Int32, Int32, Int32[], Int32, Int32, VertexDeclaration) Renders indexed primitives from a 32-bit index buffer, a vertex declaration, and other related input parameters.

See Also

Reference

GraphicsDevice Class
GraphicsDevice Members
Microsoft.Xna.Framework.Graphics Namespace