Class GorgonDrawCallCommon
Common values for a draw call.
Inherited Members
Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public abstract class GorgonDrawCallCommon
Remarks
A draw call is an immutable object that contains all of the state required to render mesh information. For each mesh an application needs to render, an single draw call should be issued via the Submit(GorgonDrawCall, in GorgonColor?, int, int) method.
State management is handled internally by Gorgon so that duplicate states are not set and thus, performance is not impacted by redundant states.
Constructors
| Edit this page View SourceGorgonDrawCallCommon()
Initializes a new instance of the GorgonDrawCallCommon class.
Declaration
protected GorgonDrawCallCommon()
See Also
Properties
| Edit this page View SourceDomainShader
Property to return the resources for the domain shader.
Declaration
public GorgonShaderResources DomainShader { get; }
Property Value
Type | Description |
---|---|
GorgonShaderResources |
See Also
| Edit this page View SourceGeometryShader
Property to return the resources for the geometry shader.
Declaration
public GorgonShaderResources GeometryShader { get; }
Property Value
Type | Description |
---|---|
GorgonShaderResources |
See Also
| Edit this page View SourceHullShader
Property to return the resources for the hull shader.
Declaration
public GorgonShaderResources HullShader { get; }
Property Value
Type | Description |
---|---|
GorgonShaderResources |
See Also
| Edit this page View SourceInputLayout
Property to return the input layout for the draw call.
Declaration
public GorgonInputLayout InputLayout { get; }
Property Value
Type | Description |
---|---|
GorgonInputLayout |
Remarks
This is derived from the VertexBufferBindings passed to the call.
See Also
| Edit this page View SourcePipelineState
Property to return the pipeline state for this draw call.
Declaration
public GorgonPipelineState PipelineState { get; }
Property Value
Type | Description |
---|---|
GorgonPipelineState |
See Also
| Edit this page View SourcePixelShader
Property to return the resources for the pixel shader.
Declaration
public GorgonShaderResources PixelShader { get; }
Property Value
Type | Description |
---|---|
GorgonShaderResources |
See Also
| Edit this page View SourceReadWriteViews
Property to return the list of unordered access views for the shader.
Declaration
public IGorgonReadOnlyArray<GorgonReadWriteViewBinding> ReadWriteViews { get; }
Property Value
Type | Description |
---|---|
IGorgonReadOnlyArray<GorgonReadWriteViewBinding> |
See Also
| Edit this page View SourceStreamOutBufferBindings
Property to return the stream out buffers bound to the draw call.
Declaration
public IGorgonReadOnlyArray<GorgonStreamOutBinding> StreamOutBufferBindings { get; }
Property Value
Type | Description |
---|---|
IGorgonReadOnlyArray<GorgonStreamOutBinding> |
See Also
| Edit this page View SourceVertexBufferBindings
Property to return the vertex buffers bound to the draw call.
Declaration
public IGorgonReadOnlyArray<GorgonVertexBufferBinding> VertexBufferBindings { get; }
Property Value
Type | Description |
---|---|
IGorgonReadOnlyArray<GorgonVertexBufferBinding> |
See Also
| Edit this page View SourceVertexShader
Property to return the resources for the vertex shader.
Declaration
public GorgonShaderResources VertexShader { get; }
Property Value
Type | Description |
---|---|
GorgonShaderResources |