Class MaterialStreamDescriptor
A Material Stream.
public class MaterialStreamDescriptor
- Inheritance
-
MaterialStreamDescriptor
Constructors
MaterialStreamDescriptor(string, string, ShaderSource)
Initializes a new instance of the MaterialStreamDescriptor class.
public MaterialStreamDescriptor(string name, string stream, ShaderSource filter = null)
Parameters
name
stringThe name.
stream
stringThe stream.
filter
ShaderSourceThe filter.
Exceptions
- ArgumentNullException
name or stream
MaterialStreamDescriptor(string, string, Type, bool)
Initializes a new instance of the MaterialStreamDescriptor class.
public MaterialStreamDescriptor(string name, string stream, Type colorType, bool remapSigned = false)
Parameters
Properties
Filter
Gets the filter to modify the shader.
public ShaderSource Filter { get; }
Property Value
- ShaderSource
The filter.
Name
Gets the name.
public string Name { get; }
Property Value
- string
The name.
Stream
Gets the stream name.
public string Stream { get; }
Property Value
- string
The stream.