struct
ClearValueSpecifies a constant clear value.
Public static functions
- static auto ColorFloat(const float values[4]) -> ClearValue
- Creates a color value to be used for formats of types other than
UINT
andSINT
. - static auto ColorFloat(float red, float green, float blue, float alpha) -> ClearValue
- Creates a color value to be used for formats of types other than
UINT
andSINT
. - static auto ColorSInt(const int32_t values[4]) -> ClearValue
- Creates a color value to be used for formats of the
SINT
type. - static auto ColorSInt(int32_t red, int32_t green, int32_t blue, int32_t alpha) -> ClearValue
- Creates a color value to be used for formats of the
SINT
type. - static auto ColorUInt(const uint32_t values[4]) -> ClearValue
- Creates a color value to be used for formats of the
UINT
type. - static auto ColorUInt(uint32_t red, uint32_t green, uint32_t blue, uint32_t alpha) -> ClearValue
- Creates a color value to be used for formats of the
UINT
type. - static auto DepthStencil(float depth, uint32_t stencil) -> ClearValue
- Creates a depth stencil value to be used for depth and/or stencil formats.