Struct D3D11StreamOutputDeclarationEntry
Description of a vertex element in a vertex buffer in an output slot.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D3D11
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public struct D3D11StreamOutputDeclarationEntry : IEquatable<D3D11StreamOutputDeclarationEntry>
Constructors
| Edit this page View SourceD3D11StreamOutputDeclarationEntry(uint, string, uint, byte, byte, byte)
Initializes a new instance of the D3D11StreamOutputDeclarationEntry struct.
Declaration
public D3D11StreamOutputDeclarationEntry(uint stream, string semanticName, uint semanticIndex, byte startComponent, byte componentCount, byte outputSlot)
Parameters
Type | Name | Description |
---|---|---|
uint | stream | The stream number. |
string | semanticName | The type of output element. |
uint | semanticIndex | The output element's index. |
byte | startComponent | Which component of the entry to begin writing out to. Valid values are 0 to 3. |
byte | componentCount | The number of components of the entry to write out to. Valid values are 1 to 4. |
byte | outputSlot | The associated stream output buffer that is bound to the pipeline. |
Properties
| Edit this page View SourceComponentCount
Gets or sets the number of components of the entry to write out to. Valid values are 1 to 4.
Declaration
public byte ComponentCount { get; set; }
Property Value
Type | Description |
---|---|
byte |
OutputSlot
Gets or sets the associated stream output buffer that is bound to the pipeline.
Declaration
public byte OutputSlot { get; set; }
Property Value
Type | Description |
---|---|
byte |
SemanticIndex
Gets or sets the output element's index.
Declaration
public uint SemanticIndex { get; set; }
Property Value
Type | Description |
---|---|
uint |
SemanticName
Gets or sets the type of output element.
Declaration
public string SemanticName { get; set; }
Property Value
Type | Description |
---|---|
string |
StartComponent
Gets or sets a value indicating which component of the entry to begin writing out to. Valid values are 0 to 3.
Declaration
public byte StartComponent { get; set; }
Property Value
Type | Description |
---|---|
byte |
Stream
Gets or sets the stream number.
Declaration
public uint Stream { get; set; }
Property Value
Type | Description |
---|---|
uint |
Methods
| Edit this page View SourceEquals(D3D11StreamOutputDeclarationEntry)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(D3D11StreamOutputDeclarationEntry other)
Parameters
Type | Name | Description |
---|---|---|
D3D11StreamOutputDeclarationEntry | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceGetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
Operators
| Edit this page View Sourceoperator ==(D3D11StreamOutputDeclarationEntry, D3D11StreamOutputDeclarationEntry)
Compares two D3D11StreamOutputDeclarationEntry objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(D3D11StreamOutputDeclarationEntry left, D3D11StreamOutputDeclarationEntry right)
Parameters
Type | Name | Description |
---|---|---|
D3D11StreamOutputDeclarationEntry | left | The left D3D11StreamOutputDeclarationEntry to compare. |
D3D11StreamOutputDeclarationEntry | right | The right D3D11StreamOutputDeclarationEntry to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(D3D11StreamOutputDeclarationEntry, D3D11StreamOutputDeclarationEntry)
Compares two D3D11StreamOutputDeclarationEntry objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(D3D11StreamOutputDeclarationEntry left, D3D11StreamOutputDeclarationEntry right)
Parameters
Type | Name | Description |
---|---|---|
D3D11StreamOutputDeclarationEntry | left | The left D3D11StreamOutputDeclarationEntry to compare. |
D3D11StreamOutputDeclarationEntry | right | The right D3D11StreamOutputDeclarationEntry to compare. |
Returns
Type | Description |
---|---|
bool |