![]() |
wisdom
|
C version:
C++ version:
Address mode for texture sampling.
D3D12_TEXTURE_ADDRESS_MODE for DirectX 12 implementation, and VkSamplerAddressMode for Vulkan implementation.Values:
WisAddressModeRepeat = 0: Repeat the texture.WisAddressModeMirroredRepeat = 1: Repeat the texture with mirroring.WisAddressModeClampToEdge = 2: Clamp the texture to the edge.WisAddressModeClampToBorder = 3: Clamp the texture to the border.WisAddressModeMirrorClampToEdge = 4: Mirror and clamp the texture to the edge.