[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.InputAssemblerStage

Class InputAssemblerStage

Namespace
GrapeCity.Documents.DX.Direct3D11
Assembly
GcDocs.DX.Windows.dll

ID3D11DeviceContext

[Guid("c0bfa96c-e089-44fb-8eaf-26f8796190da")]
public class InputAssemblerStage : CppObject, IDisposable
Inheritance
object
InputAssemblerStage
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

InputAssemblerStage(IntPtr)

Initializes a new instance of the InputAssemblerStage class.

public InputAssemblerStage(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Fields

DefaultIndexBufferOffsetInBytes

Constant DefaultIndexBufferOffsetInBytes.

public const int DefaultIndexBufferOffsetInBytes = 0

Field Value

int

DefaultPrimitiveTopology

Constant DefaultPrimitiveTopology.

public const int DefaultPrimitiveTopology = 0

Field Value

int

DefaultVertexBufferOffsetInBytes

Constant DefaultVertexBufferOffsetInBytes.

public const int DefaultVertexBufferOffsetInBytes = 0

Field Value

int

IndexInputResourceSlotCount

Constant IndexInputResourceSlotCount.

public const int IndexInputResourceSlotCount = 1

Field Value

int

InstanceIdBitCount

Constant InstanceIdBitCount.

public const int InstanceIdBitCount = 32

Field Value

int

IntegerArithmeticBitCount

Constant IntegerArithmeticBitCount.

public const int IntegerArithmeticBitCount = 32

Field Value

int

PatchMaximumControlPointCount

Constant PatchMaximumControlPointCount.

public const int PatchMaximumControlPointCount = 32

Field Value

int

PrimitiveIdBitCount

Constant PrimitiveIdBitCount.

public const int PrimitiveIdBitCount = 32

Field Value

int

VertexIdBitCount

Constant VertexIdBitCount.

public const int VertexIdBitCount = 32

Field Value

int

VertexInputResourceSlotCount

Constant VertexInputResourceSlotCount.

public const int VertexInputResourceSlotCount = 32

Field Value

int

VertexInputStructureElementCount

Constant VertexInputStructureElementCount.

public const int VertexInputStructureElementCount = 32

Field Value

int

VertexInputStructureElementsComponents

Constant VertexInputStructureElementsComponents.

public const int VertexInputStructureElementsComponents = 128

Field Value

int

Methods

GetIndexBuffer(out Buffer, out Format, out int)

void ID3D11DeviceContext::IAGetIndexBuffer([Out, Optional] ID3D11Buffer** pIndexBuffer,[Out, Optional] DXGI_FORMAT* Format,[Out, Optional] unsigned int* Offset)

public void GetIndexBuffer(out Buffer indexBufferRef, out Format format, out int offset)

Parameters

indexBufferRef Buffer
format Format
offset int

GetInputLayout()

void ID3D11DeviceContext::IAGetInputLayout([Out] ID3D11InputLayout** ppInputLayout)

public InputLayout GetInputLayout()

Returns

InputLayout

GetPrimitiveTopology()

void ID3D11DeviceContext::IAGetPrimitiveTopology([Out] D3D_PRIMITIVE_TOPOLOGY* pTopology)

public PrimitiveTopology GetPrimitiveTopology()

Returns

PrimitiveTopology

GetVertexBuffers(int, int, Buffer[], int[], int[])

void ID3D11DeviceContext::IAGetVertexBuffers([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[Out, Buffer, Optional] ID3D11Buffer** ppVertexBuffers,[Out, Buffer, Optional] unsigned int* pStrides,[Out, Buffer, Optional] unsigned int* pOffsets)

public void GetVertexBuffers(int startSlot, int numBuffers, Buffer[] vertexBuffersOut, int[] stridesRef, int[] offsetsRef)

Parameters

startSlot int
numBuffers int
vertexBuffersOut Buffer[]
stridesRef int[]
offsetsRef int[]

SetIndexBuffer(Buffer, Format, int)

void ID3D11DeviceContext::IASetIndexBuffer([In, Optional] ID3D11Buffer* pIndexBuffer,[In] DXGI_FORMAT Format,[In] unsigned int Offset)

public void SetIndexBuffer(Buffer indexBufferRef, Format format, int offset)

Parameters

indexBufferRef Buffer
format Format
offset int

SetInputLayout(InputLayout)

void ID3D11DeviceContext::IASetInputLayout([In, Optional] ID3D11InputLayout* pInputLayout)

public void SetInputLayout(InputLayout inputLayoutRef)

Parameters

inputLayoutRef InputLayout

SetPrimitiveTopology(PrimitiveTopology)

void ID3D11DeviceContext::IASetPrimitiveTopology([In] D3D_PRIMITIVE_TOPOLOGY Topology)

public void SetPrimitiveTopology(PrimitiveTopology topology)

Parameters

topology PrimitiveTopology

SetVertexBuffers(int, Buffer[], int[], int[])

Bind an array of vertex buffers to the input-assembler stage.

public void SetVertexBuffers(int slot, Buffer[] vertexBuffers, int[] stridesRef, int[] offsetsRef)

Parameters

slot int
vertexBuffers Buffer[]
stridesRef int[]
offsetsRef int[]

SetVertexBuffers(int, VertexBufferBinding)

Bind a single vertex buffer to the input-assembler stage.

public void SetVertexBuffers(int slot, VertexBufferBinding vertexBufferBinding)

Parameters

slot int
vertexBufferBinding VertexBufferBinding

SetVertexBuffers(int, params VertexBufferBinding[])

Bind an array of vertex buffers to the input-assembler stage.

public void SetVertexBuffers(int firstSlot, params VertexBufferBinding[] vertexBufferBindings)

Parameters

firstSlot int
vertexBufferBindings VertexBufferBinding[]

SetVertexBuffers(int, int, IntPtr, IntPtr, IntPtr)

void ID3D11DeviceContext::IASetVertexBuffers([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const void* ppVertexBuffers,[In, Buffer, Optional] const void* pStrides,[In, Buffer, Optional] const void* pOffsets)

public void SetVertexBuffers(int startSlot, int numBuffers, IntPtr vertexBuffersOut, IntPtr stridesRef, IntPtr offsetsRef)

Parameters

startSlot int
numBuffers int
vertexBuffersOut System.IntPtr
stridesRef System.IntPtr
offsetsRef System.IntPtr

Operators

explicit operator InputAssemblerStage(IntPtr)

Performs an explicit conversion from System.IntPtr to InputAssemblerStage.

public static explicit operator InputAssemblerStage(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

InputAssemblerStage