D3D12_STATIC_BORDER_COLOR enumeration (d3d12.h)

Specifies the border color for a static sampler.

Syntax

typedef enum D3D12_STATIC_BORDER_COLOR {
  D3D12_STATIC_BORDER_COLOR_TRANSPARENT_BLACK = 0,
  D3D12_STATIC_BORDER_COLOR_OPAQUE_BLACK,
  D3D12_STATIC_BORDER_COLOR_OPAQUE_WHITE,
  D3D12_STATIC_BORDER_COLOR_OPAQUE_BLACK_UINT,
  D3D12_STATIC_BORDER_COLOR_OPAQUE_WHITE_UINT
} ;

Constants

 
D3D12_STATIC_BORDER_COLOR_TRANSPARENT_BLACK
Value: 0
Indicates black, with the alpha component as fully transparent.
D3D12_STATIC_BORDER_COLOR_OPAQUE_BLACK
Indicates black, with the alpha component as fully opaque.
D3D12_STATIC_BORDER_COLOR_OPAQUE_WHITE
Indicates white, with the alpha component as fully opaque.

Remarks

This enum is used by the D3D12_STATIC_SAMPLER_DESC structure.

Requirements

Requirement Value
Header d3d12.h

See also

Core Enumerations