Table of Contents

Class MaterialStreamDescriptor

Namespace
Stride.Rendering.Materials
Assembly
Stride.Rendering.dll

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 string

The name.

stream string

The stream.

filter ShaderSource

The 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

name string

The name.

stream string

The stream.

colorType Type

Type of the color.

remapSigned bool

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.