Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    DynamicEffectInstance Class

    Namespace: Stride.Rendering
    Assembly: Stride.Rendering.dll
    System.Object → DisposeBase → EffectInstance → DynamicEffectInstance
    Derived from DynamicEffectInstance:

    public class DynamicEffectInstance : EffectInstance, IDisposable, IReferencable
    Name Description
    Constructors
    DynamicEffectInstance(String, ParameterCollection)
    Fields
    EffectCompilerParameters

    Defines the effect parameters used when compiling this effect.

    Properties
    EffectName
    Methods
    ChooseEffect(GraphicsDevice)
    Initialize(IServiceRegistry)
    | Improve this Doc View Source

    Constructors


    DynamicEffectInstance(String, ParameterCollection)

    public DynamicEffectInstance(string effectName, ParameterCollection parameters = null)
    Parameters
    Type Name Description
    System.String effectName
    ParameterCollection parameters
    | Improve this Doc View Source

    Fields


    EffectCompilerParameters

    Defines the effect parameters used when compiling this effect.

    public EffectCompilerParameters EffectCompilerParameters
    Field Value
    Type Description
    EffectCompilerParameters
    | Improve this Doc View Source

    Properties


    EffectName

    public string EffectName { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Methods


    ChooseEffect(GraphicsDevice)

    protected override void ChooseEffect(GraphicsDevice graphicsDevice)
    Parameters
    Type Name Description
    GraphicsDevice graphicsDevice
    Overrides
    EffectInstance.ChooseEffect(GraphicsDevice)

    Initialize(IServiceRegistry)

    public void Initialize(IServiceRegistry services)
    Parameters
    Type Name Description
    IServiceRegistry services

    Inherited Members

    EffectInstance.effect
    EffectInstance.permutationCounter
    EffectInstance.Effect
    EffectInstance.DescriptorReflection
    EffectInstance.RootSignature
    EffectInstance.Parameters
    EffectInstance.Destroy()
    EffectInstance.UpdateEffect(GraphicsDevice)
    EffectInstance.Apply(GraphicsContext)
    DisposeBase.Dispose()
    DisposeBase.IsDisposed
    DisposeBase.IReferencable.ReferenceCount
    DisposeBase.IReferencable.AddReference()
    DisposeBase.IReferencable.Release()
    DisposeBase.OnAddReference()
    DisposeBase.OnReleaseReference()

    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