TextStudio3DShaderPassContract
public sealed class TextStudio3DShaderPassContractOne authored pass. Absent roles are unsupported; an engine fallback pass is not silently declared.
Constructors
Section titled “Constructors”
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 |
Properties
Section titled “Properties”
public string Name { get; }Returns
System.String
LightMode
Section titled “LightMode”public string LightMode { get; }Returns
System.String
public TextStudio3DShaderPassRole Role { get; }Returns
TextStudio.ThreeD.TextStudio3DShaderPassRole
public TextStudio3DShaderPose Poses { get; }Returns
TextStudio.ThreeD.TextStudio3DShaderPose
Features
Section titled “Features”public TextStudio3DShaderFeature Features { get; }Returns
TextStudio.ThreeD.TextStudio3DShaderFeature
EffectDomains
Section titled “EffectDomains”public TextStudio3DEffectExecutionDomain EffectDomains { get; }Returns
TextStudio.ThreeD.TextStudio3DEffectExecutionDomain
Coverage
Section titled “Coverage”public TextStudio3DShaderCoverage Coverage { get; }Returns
TextStudio.ThreeD.TextStudio3DShaderCoverage