Search Results for

    Show / Hide Table of Contents

    Class IndexBuffer

    Represents an index buffer.

    Inheritance
    object
    GraphicBuffer
    IndexBuffer
    Implements
    IDisposable
    Inherited Members
    GraphicBuffer.Buffer
    GraphicBuffer.Offset
    GraphicBuffer.Size
    GraphicBuffer.Data
    GraphicBuffer.Dispose()
    GraphicBuffer.Dispose(bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Framework.Graphics
    Assembly: Evergine.Framework.dll
    Syntax
    public class IndexBuffer : GraphicBuffer, IDisposable

    Constructors

    IndexBuffer(Buffer, IndexFormat, int, int, bool, IntPtr)

    Initializes a new instance of the IndexBuffer class.

    Declaration
    public IndexBuffer(Buffer buffer, IndexFormat indexFormat = IndexFormat.UInt16, int offset = 0, int size = -1, bool flipWinding = false, IntPtr data = default)
    Parameters
    Type Name Description
    Buffer buffer

    The buffer.

    IndexFormat indexFormat

    Index buffer format.

    int offset

    The offset respect the buffer.

    int size

    The size of the vertex buffer.

    bool flipWinding

    Flip the winding order.

    IntPtr data

    The raw data.

    Fields

    FlipWinding

    Flip the winding order.

    Declaration
    public bool FlipWinding
    Field Value
    Type Description
    bool

    IndexCount

    The index count.

    Declaration
    public readonly int IndexCount
    Field Value
    Type Description
    int

    IndexFormat

    The vertex layout.

    Declaration
    public readonly IndexFormat IndexFormat
    Field Value
    Type Description
    IndexFormat

    Properties

    ElementSizeInBytes

    Gets the size in bytes per index.

    Declaration
    public int ElementSizeInBytes { get; }
    Property Value
    Type Description
    int

    Implements

    IDisposable

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX