Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    DescriptorSetLayoutBuilder Class

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

    Helper class to build a DescriptorSetLayout.

    System.Object → DescriptorSetLayoutBuilder
    Derived from DescriptorSetLayoutBuilder:

    public class DescriptorSetLayoutBuilder
    Name Description
    Properties
    Hash

    Returns hash describing current state of DescriptorSet (to know if they can be shared)

    Methods
    AddBinding(ParameterKey, String, EffectParameterClass, EffectParameterType, EffectParameterType, Int32, SamplerState)

    Gets (or creates) an entry to the DescriptorSetLayout and gets its index.

    | Improve this Doc View Source

    Properties


    Hash

    Returns hash describing current state of DescriptorSet (to know if they can be shared)

    public ObjectId Hash { get; }
    Property Value
    Type Description
    ObjectId
    | Improve this Doc View Source

    Methods


    AddBinding(ParameterKey, String, EffectParameterClass, EffectParameterType, EffectParameterType, Int32, SamplerState)

    Gets (or creates) an entry to the DescriptorSetLayout and gets its index.

    public void AddBinding(ParameterKey key, string logicalGroup, EffectParameterClass class, EffectParameterType type, EffectParameterType elementType, int arraySize = 1, SamplerState immutableSampler = null)
    Parameters
    Type Name Description
    ParameterKey key
    System.String logicalGroup
    EffectParameterClass class
    EffectParameterType type
    EffectParameterType elementType
    System.Int32 arraySize
    SamplerState immutableSampler

    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