Table of Contents

Class VertexAttributeMapping

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents the format of a user-defined input value to a vertex shader.

public class VertexAttributeMapping
Inheritance
VertexAttributeMapping
Derived
Inherited Members

Properties

Normalized

Gets or sets a value specifying whether fixed-point data values should be normalized or converted directly before they are accessed.

public bool Normalized { get; set; }

Property Value

bool

Size

Gets or sets a value specifying the number of components in the vertex attribute.

public int Size { get; set; }

Property Value

int

Type

Gets or sets a value specifying the data type of each component in the vertex attribute.

public VertexAttribPointerType Type { get; set; }

Property Value

VertexAttribPointerType

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.