Table of Contents

Class VertexUserStreamDefinition

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

A user defined stream.

[DataContract("VertexUserStreamDefinition")]
[Display("Custom Vertex Stream", null)]
public class VertexUserStreamDefinition : VertexStreamDefinitionBase, IVertexStreamDefinition
Inheritance
VertexUserStreamDefinition
Implements

Constructors

VertexUserStreamDefinition()

public VertexUserStreamDefinition()

Properties

Name

Name of the semantic of the stream to read data from.

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

Property Value

string

Methods

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetSemanticName()

Gets the name of the semantic.

public override string GetSemanticName()

Returns

string

A string with the name of the stream semantic.

GetSemanticNameHash()

Gets the hash code of the semantic name.

public override int GetSemanticNameHash()

Returns

int

An int with the hash code of the semantic name.