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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for