Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    PrimitiveType Enum

    Namespace: Stride.Graphics
    Assembly: Stride.Graphics.dll

    Defines how vertex data is ordered.

    [DataContract]
    public enum PrimitiveType

    Fields

    Name Description
    LineList

    The data is ordered as a sequence of line segments; each line segment is described by two new vertices. The count may be any positive integer.

    LineListWithAdjacency

    No documentation.

    LineStrip

    The data is ordered as a sequence of line segments; each line segment is described by one new vertex and the last vertex from the previous line seqment. The count may be any positive integer.

    LineStripWithAdjacency

    No documentation.

    PatchList
    PointList

    No documentation.

    TriangleList

    The data is ordered as a sequence of triangles; each triangle is described by three new vertices. Back-face culling is affected by the current winding-order render state.

    TriangleListWithAdjacency

    No documentation.

    TriangleStrip

    The data is ordered as a sequence of triangles; each triangle is described by two new vertices and one vertex from the previous triangle. The back-face culling flag is flipped automatically on even-numbered

    TriangleStripWithAdjacency

    No documentation.

    Undefined

    No documentation.

    Extension Methods

    ComponentBaseExtensions.DisposeBy<PrimitiveType>(ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<PrimitiveType>(ICollectorHolder)
    PrimitiveTypeExtensions.ControlPointCount(Int32)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation