PipelineStateStream

Description

sealed class Tinman.AddOns.DirectX12.Pipeline.PipelineStateStream

Derived from

Disposable abstract

Full source code is included in the Tinman 3D SDK download.

Helper class for building a pipeline state stream.

Public / Constructors

Pipeline​State​Stream


public constructor PipelineStateStream → ()

Creates a new instance of PipelineStateStream.

Public / Methods

Build


[OwnerReturn] [OwnerThis]
public method Build → ()

returns → ByteBuffer

The pipeline descriptor value.

Builds the pipeline descriptor value.

Subobject


public method Subobject → (1)

subobject in : ByteBuffer

The sub-object to add.

Appends a sub-object to the pipeline descriptor

Subobject​Blend


[OwnerReturn]
public static method SubobjectBlend → (1)

value in : DirectX12BlendState

The data to encode.

returns → ByteBuffer

The encoded value.

Encodes a D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_BLEND value.

Subobject​Depth​Stencil1


[OwnerReturn]
public static method SubobjectDepthStencil1 → (1)

value in : DirectX12DepthStencilState

The data to encode.

returns → ByteBuffer

The encoded value.

Encodes a D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL1 value.

Subobject​Depth​Stencil​Format


public method SubobjectDepthStencilFormat → (1)

value in : int32

The data to encode.

Encodes a D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL_FORMAT value.

Subobject​Ib​Strip​Cut​Value


public method SubobjectIbStripCutValue → (1)

value in : int32

The data to encode.

Encodes a D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_IB_STRIP_CUT_VALUE value.

Subobject​Input​Layout


public method SubobjectInputLayout → (2)

inputLayout in : ByteBuffer

The data to encode.

count in : int32

The data to encode.

Encodes a D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_INPUT_LAYOUT value.

Subobject​Primitive​Topology


public method SubobjectPrimitiveTopology → (1)

value in : int32

The data to encode.

Encodes a D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_PRIMITIVE_TOPOLOGY value.

Subobject​Rasterizer


[OwnerReturn]
public static method SubobjectRasterizer → (1)

value in : DirectX12RasterizerState

The data to encode.

returns → ByteBuffer

The encoded value.

Encodes a D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_RASTERIZER value.

Subobject​Root​Signature


public method SubobjectRootSignature → (1)

pointer in : IntPtr

The data to encode.

Encodes a D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_ROOT_SIGNATURE value.

Subobject​Sample​Desc


public method SubobjectSampleDesc → (2)

count in : int32

The data to encode.

quality in : int32

The data to encode.

Encodes a D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_DESC value.

Subobject​Sample​Mask


public method SubobjectSampleMask → (1)

value in : int32

The data to encode.

Encodes a D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_MASK value.

Subobject​Shader​Bytecode


public method SubobjectShaderBytecode → (2)

opCode in : int32

The D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_* value.

shader in : ByteBuffer

The data to encode.

Encodes a D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_* value.

Subobject​Type​Render​Target​Formats


public method SubobjectTypeRenderTargetFormats → (9)

format0 in : int32

The data to encode.

format1 in : int32

The data to encode.

format2 in : int32

The data to encode.

format3 in : int32

The data to encode.

format4 in : int32

The data to encode.

format5 in : int32

The data to encode.

format6 in : int32

The data to encode.

format7 in : int32

The data to encode.

count in : int32

The data to encode.

Encodes a D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_RENDER_TARGET_FORMATS value.

Public / Attributes

Is​Compute


public attribute IsCompute → (get)

value : bool

true if compute, false if not.

Is this a compute pipeline state?

Is​Graphics


public attribute IsGraphics → (get)

value : bool

true if graphics, false if not.

Is this a graphics pipeline state?