Search Results for

    Show / Hide Table of Contents

    Class Buffer

    This class represents a buffer resource.

    Inheritance
    object
    GraphicsResource
    Buffer
    DX11Buffer
    DX12Buffer
    MTLBuffer
    GLBuffer
    VKBuffer
    WGPUBuffer
    Inherited Members
    GraphicsResource.disposed
    GraphicsResource.Context
    GraphicsResource.NativePointer
    GraphicsResource.Disposed
    GraphicsResource.Dispose()
    Namespace: Evergine.Common.Graphics
    Assembly: Evergine.Common.dll
    Syntax
    public abstract class Buffer : GraphicsResource

    Constructors

    Buffer(GraphicsContext)

    Initializes a new instance of the Buffer class.

    Declaration
    protected Buffer(GraphicsContext context)
    Parameters
    Type Name Description
    GraphicsContext context

    The graphics context.

    Buffer(GraphicsContext, ref BufferDescription)

    Initializes a new instance of the Buffer class.

    Declaration
    protected Buffer(GraphicsContext context, ref BufferDescription description)
    Parameters
    Type Name Description
    GraphicsContext context

    The graphics context.

    BufferDescription description

    The buffer description.

    Fields

    Description

    Gets the buffer description.

    Declaration
    public readonly BufferDescription Description
    Field Value
    Type Description
    BufferDescription

    Properties

    Name

    Gets or sets a string identifying this instance. It can be used in graphics debugging tools.

    Declaration
    public abstract string Name { get; set; }
    Property Value
    Type Description
    string

    UpdateCounter

    Gets the counter that increments every time this buffer is updated.

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

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX