Search Results for

    Show / Hide Table of Contents

    Class GraphicBuffer

    Represents a vertex buffer.

    Inheritance
    object
    GraphicBuffer
    IndexBuffer
    VertexBuffer
    Implements
    IDisposable
    Inherited Members
    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 abstract class GraphicBuffer : IDisposable

    Constructors

    GraphicBuffer(Buffer, int, int, IntPtr)

    Initializes a new instance of the GraphicBuffer class.

    Declaration
    public GraphicBuffer(Buffer buffer, int offset = 0, int size = 0, IntPtr data = default)
    Parameters
    Type Name Description
    Buffer buffer

    The buffer.

    int offset

    The offset respect the buffer.

    int size

    The size of the vertex buffer.

    IntPtr data

    The specified.

    Fields

    Buffer

    The associated buffer.

    Declaration
    public readonly Buffer Buffer
    Field Value
    Type Description
    Buffer

    Offset

    The offset.

    Declaration
    public readonly int Offset
    Field Value
    Type Description
    int

    Size

    The size.

    Declaration
    public readonly int Size
    Field Value
    Type Description
    int

    Properties

    Data

    Gets the Data pointer.

    Declaration
    public IntPtr Data { get; }
    Property Value
    Type Description
    IntPtr

    Methods

    Dispose()

    Public implementation of Dispose pattern callable by consumers.

    Declaration
    public void Dispose()

    Dispose(bool)

    Protected implementation of Dispose pattern.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    Dispose native elements.

    ~GraphicBuffer()

    Finalizes an instance of the GraphicBuffer class.

    Declaration
    protected ~GraphicBuffer()

    Implements

    IDisposable

    Extension Methods

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