Search Results for

    Show / Hide Table of Contents

    Class CBufferCollectionUpdaterEffectEntry

    This is a collection of CBuffers associated with effects that is going to be updated.

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

    Fields

    ConstantBuffersBySlot

    The constant buffer by slot.

    Declaration
    public readonly Dictionary<int, ConstantBuffer> ConstantBuffersBySlot
    Field Value
    Type Description
    Dictionary<int, ConstantBuffer>

    Properties

    ReferenceCount

    Gets the number of references pointing to this effect entry.

    Declaration
    public uint ReferenceCount { get; }
    Property Value
    Type Description
    uint

    Methods

    AddReference()

    Adds a reference for this effect entry.

    Declaration
    public void AddReference()

    Collect(IEngineShaderParameters)

    Updates the constant buffers.

    Declaration
    public void Collect(IEngineShaderParameters engineShaderParameters)
    Parameters
    Type Name Description
    IEngineShaderParameters engineShaderParameters

    The engine shader parameters.

    Destroy()

    Destroys all resources of this instance.

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

    Prepare(CommandBuffer)

    Prepares all registered effects.

    Declaration
    public void Prepare(CommandBuffer commandBuffer)
    Parameters
    Type Name Description
    CommandBuffer commandBuffer

    The command buffer.

    RemoveReference()

    Removes a reference of this effect entry.

    Declaration
    public void RemoveReference()

    UpdateCBufferSetters(MaterialPassResources)

    Updates the constant buffer setter.

    Declaration
    public void UpdateCBufferSetters(MaterialPassResources materialPassResources)
    Parameters
    Type Name Description
    MaterialPassResources materialPassResources

    The material pass resources.

    Extension Methods

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