Share via


D3D12_PIPELINE_STATE_SUBOBJECT_TYPE enumeração (d3d12.h)

Especifica o tipo de um subpropósitório em uma descrição do fluxo de estado do pipeline.

Syntax

typedef enum D3D12_PIPELINE_STATE_SUBOBJECT_TYPE {
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_ROOT_SIGNATURE = 0,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_VS,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_PS,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DS,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_HS,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_GS,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_CS,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_STREAM_OUTPUT,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_BLEND,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_MASK,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_RASTERIZER,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_INPUT_LAYOUT,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_IB_STRIP_CUT_VALUE,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_PRIMITIVE_TOPOLOGY,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_RENDER_TARGET_FORMATS,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL_FORMAT,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_DESC,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_NODE_MASK,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_CACHED_PSO,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_FLAGS,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL1,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_VIEW_INSTANCING,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_AS = 24,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_MS = 25,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL2,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_RASTERIZER1,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_RASTERIZER2,
  D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_MAX_VALID
} ;

Constantes

 
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_ROOT_SIGNATURE
Valor: 0
Indica um tipo de subobjeto de assinatura raiz.
O tipo de subobjeto correspondente é ID3D12RootSignature.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_VS
Indica um tipo de subobjeto de sombreador de vértice.
O tipo de subobjeto correspondente é D3D12_SHADER_BYTECODE.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_PS
Indica um tipo de subobjeto de sombreador de pixel.
O tipo de subobjeto correspondente é D3D12_SHADER_BYTECODE.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DS
Indica um tipo de subobjeto de sombreador de domínio.
O tipo de subobjeto correspondente é D3D12_SHADER_BYTECODE.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_HS
Indica um tipo de subobjeto de sombreador de casco.
O tipo de subobjeto correspondente é D3D12_SHADER_BYTECODE.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_GS
Indica um tipo de subobjeto de sombreador geometry.
O tipo de subobjeto correspondente é D3D12_SHADER_BYTECODE.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_CS
Indica um tipo de subobjeto de sombreador de computação.
O tipo de subobjeto correspondente é D3D12_SHADER_BYTECODE.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_STREAM_OUTPUT
Indica um tipo de subobjeto de saída de fluxo.
O tipo de subobjeto correspondente é D3D12_STREAM_OUTPUT_DESC.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_BLEND
Indica um tipo de subobjeto blend.
O tipo de subobjeto correspondente é D3D12_BLEND_DESC.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_MASK
Indica um tipo de subobjeto de máscara de exemplo.
O tipo de subobjeto correspondente é UINT.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_RASTERIZER
Indica que um tipo de subobjeto de rasterizador.
O tipo de subobjeto correspondente é D3D12_RASTERIZER_DESC.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL
Indica um tipo de subobjeto de estêncil de profundidade.
O tipo de subobjeto correspondente é D3D12_DEPTH_STENCIL_DESC.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_INPUT_LAYOUT
Indica um tipo de subobjeto de layout de entrada.
O tipo de subobjeto correspondente é D3D12_INPUT_LAYOUT_DESC.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_IB_STRIP_CUT_VALUE
Indica um tipo de subobjeto de valor de corte de faixa de buffer de índice.
O tipo de subobjeto correspondente é D3D12_INDEX_BUFFER_STRIP_CUT_VALUE.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_PRIMITIVE_TOPOLOGY
Indica um tipo de subobjeto de topologia primitiva.
O tipo de subobjeto correspondente é D3D12_PRIMITIVE_TOPOLOGY_TYPE.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_RENDER_TARGET_FORMATS
Indica um tipo de subobjeto de formatos de destino de renderização. O tipo de subobjeto correspondente é D3D12_RT_FORMAT_ARRAY estrutura, que encapsula uma matriz de formatos de destino de renderização junto com uma contagem dos elementos da matriz.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL_FORMAT
Indica um subobjeto de formato de estêncil de profundidade.
O tipo de subobjeto correspondente é DXGI_FORMAT.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_DESC
Indica um tipo de subobjeto de descrição de exemplo.
O tipo de subobjeto correspondente é DXGI_SAMPLE_DESC.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_NODE_MASK
Indica um tipo de subobjeto de máscara de nó.
O tipo de subobjeto correspondente é D3D12_NODE_MASK ou UINT.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_CACHED_PSO
Indica um tipo de subobjeto de objeto de estado de pipeline armazenado em cache.
O tipo de subobjeto correspondente é D3D12_CACHED_PIPELINE_STATE.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_FLAGS
Indica um tipo de subobjeto de sinalizadores.
O tipo de subobjeto correspondente é D3D12_PIPELINE_STATE_FLAGS.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL1
Indica um tipo de subobjeto de estêncil de profundidade expandido. Essa expansão do subobjeto do estêncil de profundidade dá suporte à verificação opcional de limites de profundidade.
O tipo de subobjeto correspondente é D3D12_DEPTH_STENCIL_DESC1.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_VIEW_INSTANCING
Indica um tipo de subobjeto de instanciação de exibição.
O tipo de subobjeto correspondente é D3D12_VIEW_INSTANCING_DESC.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_AS
Valor: 24
Indica um tipo de subobjeto de sombreador de amplificação.
O tipo de subobjeto correspondente é D3D12_SHADER_BYTECODE.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_MS
Valor: 25
Indica um tipo de subobjeto de sombreador de malha.
O tipo de subobjeto correspondente é D3D12_SHADER_BYTECODE.
D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_MAX_VALID
Um valor sentinela que marca o limite superior exclusivo de valores válidos que essa enumeração representa.

Comentários

Essa enumeração é usada na criação de objetos de estado de pipeline usando o método ID3D12Device1::CreatePipelineState. O método CreatePipelineState usa um D3D12_PIPELINE_STATE_STREAM_DESC como um de seus parâmetros, essa estrutura, por sua vez, descreve um bytestream composto por valores de enumeração de D3D12_PIPELINE_STATE_SUBOBJECT_TYPE alternados e seus structs de descrição de subobjeto correspondentes. Essa descrição de bytestream pode ser feita de um tipo concreto definindo uma estrutura que tem o mesmo padrão alternado de valores de enumeração de D3D12_PIPELINE_STATE_SUBOBJECT_TYPE alternados e seus structs de descrição de subobjeto correspondentes como membros.

Requisitos

   
Cabeçalho d3d12.h

Confira também

Consulte D3D12_PIPELINE_STATE_STREAM_DESC para obter uma descrição do layout e do comportamento de um desc de pipeline de streaming.

Enumerações principais