Search Results for

    Show / Hide Table of Contents

    Class DX12QueryHeap

    Represents a DirectX queryheap object.

    Inheritance
    object
    GraphicsResource
    QueryHeap
    DX12QueryHeap
    Implements
    IDisposable
    Inherited Members
    QueryHeap.Description
    GraphicsResource.disposed
    GraphicsResource.Context
    GraphicsResource.Disposed
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.DirectX12
    Assembly: Evergine.DirectX12.dll
    Syntax
    public class DX12QueryHeap : QueryHeap, IDisposable

    Constructors

    DX12QueryHeap(DX12GraphicsContext, ref QueryHeapDescription)

    Initializes a new instance of the DX12QueryHeap class.

    Declaration
    public DX12QueryHeap(DX12GraphicsContext context, ref QueryHeapDescription description)
    Parameters
    Type Name Description
    DX12GraphicsContext context

    The graphics context.

    QueryHeapDescription description

    The queryheap description.

    Fields

    nativeQueryHeap

    The DirectX12 native object.

    Declaration
    public ID3D12QueryHeap nativeQueryHeap
    Field Value
    Type Description
    ID3D12QueryHeap

    Properties

    NativePointer

    Gets the native pointer.

    Declaration
    public override IntPtr NativePointer { get; }
    Property Value
    Type Description
    IntPtr
    Overrides
    GraphicsResource.NativePointer

    Methods

    Dispose()

    Dispose this instance.

    Declaration
    public override void Dispose()
    Overrides
    GraphicsResource.Dispose()

    ReadData(uint, uint, ulong[])

    Extract data from one or more queries.

    Declaration
    public override 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.

    Overrides
    QueryHeap.ReadData(uint, uint, ulong[])
    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