Partager via


GeometryContent Class

Note

This class is available only when developing for Windows.

Provides properties that define various aspects of a geometry batch.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public class GeometryContent : ContentItem

Remarks

A geometry batch is a subcomponent of a mesh, representing a single piece of homogeneous geometry that can be submitted to the GPU in a single draw call. It contains an indexed triangle list (using a single material) where all vertices share the same set of data channels. Vertices are made unique if there are differences in any of their data channels. Coordinates that require unique vertices on either side of a join create unique vertices.

See Also

Reference

GeometryContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows 7, Windows Vista, Windows XP