Search Results for

    Show / Hide Table of Contents

    Class MaterialPassResourceSet

    Manage a ResourceSet.

    Inheritance
    object
    DisposableObject
    MaterialPassResourceSet
    Implements
    IDisposable
    Inherited Members
    DisposableObject.Disposed
    DisposableObject.Dispose()
    DisposableObject.Dispose(bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Framework.Graphics
    Assembly: Evergine.Framework.dll
    Syntax
    public class MaterialPassResourceSet : DisposableObject, IDisposable

    Constructors

    MaterialPassResourceSet(DrawContextMaterialResources, MaterialPassResources)

    Initializes a new instance of the MaterialPassResourceSet class.

    Declaration
    public MaterialPassResourceSet(DrawContextMaterialResources drawContextMaterialResources, MaterialPassResources materialPassResources)
    Parameters
    Type Name Description
    DrawContextMaterialResources drawContextMaterialResources

    The associated Material resources.

    MaterialPassResources materialPassResources

    The material pass resources.

    MaterialPassResourceSet(MaterialPassResources)

    Initializes a new instance of the MaterialPassResourceSet class.

    Declaration
    public MaterialPassResourceSet(MaterialPassResources materialPassResources)
    Parameters
    Type Name Description
    MaterialPassResources materialPassResources

    The material pass resources.

    Fields

    DrawContextMaterialResources

    Draw material resources.

    Declaration
    public readonly DrawContextMaterialResources DrawContextMaterialResources
    Field Value
    Type Description
    DrawContextMaterialResources

    Properties

    ReferenceCount

    Gets the number of references pointing to this effect entry.

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

    ResourceSet

    Gets the resource set of this pass.

    Declaration
    public ResourceSet ResourceSet { get; }
    Property Value
    Type Description
    ResourceSet

    Methods

    AddReference()

    Increase a reference to this effect entry.

    Declaration
    public void AddReference()

    Destroy()

    Destroy all resources of this instance.

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

    MakeResourceSetDirty()

    Make the resource set of this technique dirty.

    Declaration
    public void MakeResourceSetDirty()

    RemoveReference()

    Remove a refernece of this effect entry.

    Declaration
    public void RemoveReference()

    Events

    ResourceSetChanged

    Event fired when material resource set is changed.

    Declaration
    public event EventHandler ResourceSetChanged
    Event Type
    Type Description
    EventHandler

    Implements

    IDisposable

    Extension Methods

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