Search Results for

    Show / Hide Table of Contents

    Class QueryHeap

    This class represent a queryheap resource.

    Inheritance
    object
    GraphicsResource
    QueryHeap
    DX11QueryHeap
    DX12QueryHeap
    MTLQueryHeap
    GLQueryHeap
    VKQueryHeap
    Implements
    IDisposable
    Inherited Members
    GraphicsResource.disposed
    GraphicsResource.Context
    GraphicsResource.NativePointer
    GraphicsResource.Disposed
    GraphicsResource.Dispose()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Common.Graphics
    Assembly: Evergine.Common.dll
    Syntax
    public abstract class QueryHeap : GraphicsResource, IDisposable

    Constructors

    QueryHeap(GraphicsContext, ref QueryHeapDescription)

    Initializes a new instance of the QueryHeap class.

    Declaration
    protected QueryHeap(GraphicsContext context, ref QueryHeapDescription description)
    Parameters
    Type Name Description
    GraphicsContext context

    The graphics context.

    QueryHeapDescription description

    The queryheap description.

    Fields

    Description

    Gets the queryheap description.

    Declaration
    public readonly QueryHeapDescription Description
    Field Value
    Type Description
    QueryHeapDescription

    Methods

    ReadData(uint, uint, ulong[])

    Extract data from one or more queries.

    Declaration
    public abstract bool ReadData(uint startIndex, uint count, ulong[] results)
    Parameters
    Type Name Description
    uint startIndex

    Specifies the index of the fist query to read.

    uint count

    Specifies the number of queries to read.

    ulong[] results

    ulong buffer with the extracted queries data.

    Returns
    Type Description
    bool

    Return true if all queries to read are available and false if not.

    Remarks

    If the result is false, the results will conttains the latest available results.

    Implements

    IDisposable

    Extension Methods

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