wisdom
Loading...
Searching...
No Matches
WisStaticBorder Struct Reference

Detailed Description

Specification


C version:

// Provided by Wisdom 0.7.0.
typedef enum WisStaticBorder {
WisStaticBorderTransparentBlack = 0,
WisStaticBorderOpaqueBlack = 1,
WisStaticBorderOpaqueWhite = 2,

C++ version:

namespace wis{
// Provided by Wisdom 0.7.0.
enum class StaticBorder {
TransparentBlack = 0,
OpaqueBlack = 1,
OpaqueWhite = 2,
};
}

Description


Predefined static border colors for samplers. Used when address mode is set to Border.

Note
Translates to D3D12_STATIC_BORDER_COLOR for DirectX 12 implementation, and VkBorderColor for Vulkan implementation.

Values:

  • WisStaticBorderTransparentBlack = 0: Transparent black border color.
  • WisStaticBorderOpaqueBlack = 1: Opaque black border color.
  • WisStaticBorderOpaqueWhite = 2: Opaque white border color.

See Also


See also
Structs: WisSamplerDesc