Skip to content

TextStudio3DShaderPassContract

ClassTextStudio.ThreeDTextStudio.3D
public sealed class TextStudio3DShaderPassContract

One authored pass. Absent roles are unsupported; an engine fallback pass is not silently declared.

TextStudio3DShaderPassContract(string, string, TextStudio3DShaderPassRole, TextStudio3DShaderPose, TextStudio3DShaderFeature, TextStudio3DEffectExecutionDomain, TextStudio3DShaderCoverage)

Section titled “TextStudio3DShaderPassContract(string, string, TextStudio3DShaderPassRole, TextStudio3DShaderPose, TextStudio3DShaderFeature, TextStudio3DEffectExecutionDomain, TextStudio3DShaderCoverage)”
public TextStudio3DShaderPassContract(string name, string lightMode, TextStudio3DShaderPassRole role, TextStudio3DShaderPose poses, TextStudio3DShaderFeature features = TextStudio3DShaderFeature.None, TextStudio3DEffectExecutionDomain effectDomains = TextStudio3DEffectExecutionDomain.None, TextStudio3DShaderCoverage coverage = TextStudio3DShaderCoverage.None)

Declares one named pass, its LightMode, its single role, and the poses and features it supports.

Parameters

Name Type
name System.String
lightMode System.String
role TextStudio.ThreeD.TextStudio3DShaderPassRole
poses TextStudio.ThreeD.TextStudio3DShaderPose
features TextStudio.ThreeD.TextStudio3DShaderFeature
effectDomains TextStudio.ThreeD.TextStudio3DEffectExecutionDomain
coverage TextStudio.ThreeD.TextStudio3DShaderCoverage

public string Name { get; }

Returns

System.String

public string LightMode { get; }

Returns

System.String

public TextStudio3DShaderPassRole Role { get; }

Returns

TextStudio.ThreeD.TextStudio3DShaderPassRole

public TextStudio3DShaderPose Poses { get; }

Returns

TextStudio.ThreeD.TextStudio3DShaderPose

public TextStudio3DShaderFeature Features { get; }

Returns

TextStudio.ThreeD.TextStudio3DShaderFeature

public TextStudio3DEffectExecutionDomain EffectDomains { get; }

Returns

TextStudio.ThreeD.TextStudio3DEffectExecutionDomain

public TextStudio3DShaderCoverage Coverage { get; }

Returns

TextStudio.ThreeD.TextStudio3DShaderCoverage