Table of Contents

Class ShaderClassCode

Namespace
Stride.Shaders
Assembly
Stride.Shaders.dll

A common base class for shader classes with source code.

[DataContract("ShaderClassCode")]
public abstract class ShaderClassCode : ShaderSource
Inheritance
ShaderClassCode
Derived
Inherited Members

Properties

ClassName

Gets the name of the class.

[DataMember(10)]
public string ClassName { get; set; }

Property Value

string

The name of the class.

GenericArguments

Gets the generic parameters.

[DataStyle(DataStyle.Compact)]
[DataMember(20)]
public string[] GenericArguments { get; set; }

Property Value

string[]

The generic parameters.

GenericParametersArguments

[DataMember(30)]
public Dictionary<string, string> GenericParametersArguments { get; set; }

Property Value

Dictionary<string, string>

Methods

ToClassName()

Returns a class name as a string that represents this instance.

public string ToClassName()

Returns

string

A class name as a string that represents this instance.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.