Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    EffectParameterUpdater Struct

    Namespace: Stride.Rendering
    Assembly: Stride.Graphics.dll

    Helper class to update several ResourceGroup from a ParameterCollection.

    public struct EffectParameterUpdater
    Name Description
    Constructors
    EffectParameterUpdater(EffectParameterUpdaterLayout, ParameterCollection)
    Properties
    ResourceGroups
    Methods
    Update(GraphicsDevice, ResourceGroupAllocator, ParameterCollection)
    | Improve this Doc View Source

    Constructors


    EffectParameterUpdater(EffectParameterUpdaterLayout, ParameterCollection)

    public EffectParameterUpdater(EffectParameterUpdaterLayout updaterLayout, ParameterCollection parameters)
    Parameters
    Type Name Description
    EffectParameterUpdaterLayout updaterLayout
    ParameterCollection parameters
    | Improve this Doc View Source

    Properties


    ResourceGroups

    public readonly ResourceGroup[] ResourceGroups { get; }
    Property Value
    Type Description
    ResourceGroup[]
    | Improve this Doc View Source

    Methods


    Update(GraphicsDevice, ResourceGroupAllocator, ParameterCollection)

    public void Update(GraphicsDevice graphicsDevice, ResourceGroupAllocator resourceGroupAllocator, ParameterCollection parameters)
    Parameters
    Type Name Description
    GraphicsDevice graphicsDevice
    ResourceGroupAllocator resourceGroupAllocator
    ParameterCollection parameters

    Inherited Members

    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation