Search Results for

    Show / Hide Table of Contents

    Class EffectHelper

    Effect common helper class.

    Inheritance
    object
    EffectHelper
    Namespace: Evergine.Framework.Graphics.Effects
    Assembly: Evergine.Framework.dll
    Syntax
    public static class EffectHelper

    Methods

    AddedResourceBindingData(ref GraphicsShaderStateDescription, ref GraphicsResourceInfo[])

    Added resources binding data to ShaderStageDescription object.

    Declaration
    public static void AddedResourceBindingData(ref GraphicsShaderStateDescription shaderDescription, ref GraphicsResourceInfo[] resourceLayoutInfo)
    Parameters
    Type Name Description
    GraphicsShaderStateDescription shaderDescription

    Shader State Descrition.

    GraphicsResourceInfo[] resourceLayoutInfo

    Resource Layout Info.

    CheckDirectives(string[], string[])

    Checks the directives and return filter directives.

    Declaration
    public static string[] CheckDirectives(string[] usedDirectives, string[] directives)
    Parameters
    Type Name Description
    string[] usedDirectives

    Directives used by a single pass.

    string[] directives

    The wanted directives.

    Returns
    Type Description
    string[]

    Directives existing in the effect.

    GetDirectivesHasCode(string[])

    Get hash-code of directive list.

    Declaration
    public static int GetDirectivesHasCode(string[] activeDirectives)
    Parameters
    Type Name Description
    string[] activeDirectives

    Active directives.

    Returns
    Type Description
    int

    Hash code.

    GetPassAndDirectivesHashCode(string, string[])

    Gets hash-code base on passName and active directives list.

    Declaration
    public static int GetPassAndDirectivesHashCode(string passName, string[] activeDirectives)
    Parameters
    Type Name Description
    string passName

    Pass Name.

    string[] activeDirectives

    Active directives.

    Returns
    Type Description
    int

    Hash code.

    In this article
    Back to top
    Generated by DocFX