estructura de D3D12_SUBRESOURCE_FOOTPRINT (d3d12.h)

Describe el formato, el ancho, el alto, la profundidad y el tono de fila del subrecurso en el recurso primario.

Sintaxis

typedef struct D3D12_SUBRESOURCE_FOOTPRINT {
  DXGI_FORMAT Format;
  UINT        Width;
  UINT        Height;
  UINT        Depth;
  UINT        RowPitch;
} D3D12_SUBRESOURCE_FOOTPRINT;

Miembros

Format

Valor DXGI_FORMAT con tipo que especifica el formato de visualización.

Width

Ancho del subrecurso.

Height

Alto del subrecurso.

Depth

Profundidad del subrecurso.

RowPitch

El tono de fila, el ancho o el tamaño físico, en bytes, de los datos del subrecurso. Debe ser un múltiplo de D3D12_TEXTURE_DATA_PITCH_ALIGNMENT (256) y debe ser mayor o igual que el tamaño de los datos de una fila.

Comentarios

Use esta estructura en la estructura D3D12_PLACED_SUBRESOURCE_FOOTPRINT .

La estructura del asistente es CD3DX12_SUBRESOURCE_FOOTPRINT.

Requisitos

Requisito Valor
Header d3d12.h

Consulte también

CD3DX12_SUBRESOURCE_FOOTPRINT

Estructuras principales