Search Results for

    Show / Hide Table of Contents

    Class ConstantBufferPool

    A constant buffer pool for an effect.

    Inheritance
    object
    DisposableObject
    ConstantBufferPool
    Inherited Members
    DisposableObject.Disposed
    DisposableObject.Dispose()
    DisposableObject.Dispose(bool)
    Namespace: Evergine.Framework.Graphics.Effects
    Assembly: Evergine.Framework.dll
    Syntax
    public class ConstantBufferPool : DisposableObject

    Constructors

    ConstantBufferPool(Effect)

    Initializes a new instance of the ConstantBufferPool class.

    Declaration
    public ConstantBufferPool(Effect effect)
    Parameters
    Type Name Description
    Effect effect

    The effect.

    Methods

    Destroy()

    Destroys all resources of this instance.

    Declaration
    protected override void Destroy()
    Overrides
    DisposableObject.Destroy()

    ReleaseConstantBuffer(int, ConstantBuffer)

    Releases a constant buffer to allow others to use it.

    Declaration
    public void ReleaseConstantBuffer(int slot, ConstantBuffer constantBuffer)
    Parameters
    Type Name Description
    int slot

    The slot.

    ConstantBuffer constantBuffer

    The constant buffer.

    RetrieveCBuffer(int)

    Retrieves a constant buffer from the pool.

    Declaration
    public ConstantBuffer RetrieveCBuffer(int slot)
    Parameters
    Type Name Description
    int slot

    The constant buffer slot.

    Returns
    Type Description
    ConstantBuffer

    The constant buffer.

    Extension Methods

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