Table of Contents

Struct InputLayoutDescription

Namespace
Pie
Assembly
Pie.dll

Describes how an InputLayout should behave.

public struct InputLayoutDescription : IEquatable<InputLayoutDescription>
Implements
Inherited Members

Constructors

InputLayoutDescription(Format, uint, uint, InputType)

Create a new input layout description for use with an InputLayout.

public InputLayoutDescription(Format format, uint offset, uint slot, InputType inputType)

Parameters

format Format

The format of this attribute.

offset uint

The offset, in bytes, of this attribute.

slot uint

The vertex buffer slot of this attribute.

inputType InputType

The input type of this attribute.

Fields

Format

The format of this attribute.

public readonly Format Format

Field Value

Format
Describes how an should behave.

InputType

The input type of this attribute.

public InputType InputType

Field Value

InputType
Describes how an should behave.

Offset

The offset, in bytes, of this attribute.

public readonly uint Offset

Field Value

uint
Describes how an should behave.

Slot

The vertex buffer slot of this attribute.

public uint Slot

Field Value

uint
Describes how an should behave.

Methods

Equals(InputLayoutDescription)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(InputLayoutDescription other)

Parameters

other InputLayoutDescription

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

Operators

operator ==(InputLayoutDescription, InputLayoutDescription)

public static bool operator ==(InputLayoutDescription left, InputLayoutDescription right)

Parameters

left InputLayoutDescription
Describes how an should behave.
right InputLayoutDescription
Describes how an should behave.

Returns

bool
Describes how an should behave.

operator !=(InputLayoutDescription, InputLayoutDescription)

public static bool operator !=(InputLayoutDescription left, InputLayoutDescription right)

Parameters

left InputLayoutDescription
Describes how an should behave.
right InputLayoutDescription
Describes how an should behave.

Returns

bool
Describes how an should behave.