Movatterモバイル変換


[0]ホーム

URL:


Vulkan API Reference Pageslatest

VkSamplerAddressMode(3)

Name

VkSamplerAddressMode - Specify behavior of sampling with texture coordinates outside an image

C Specification

Possible values of theVkSamplerCreateInfo::addressMode*parameters, corresponding to differentwrapping operations used during sampling, are:

// Provided by VK_VERSION_1_0typedef enum VkSamplerAddressMode {    VK_SAMPLER_ADDRESS_MODE_REPEAT = 0,    VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT = 1,    VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE = 2,    VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER = 3,  // Provided by VK_VERSION_1_2, VK_KHR_sampler_mirror_clamp_to_edge    VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE = 4,  // Provided by VK_KHR_sampler_mirror_clamp_to_edge  // VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE_KHR is a legacy alias    VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE_KHR = VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE,} VkSamplerAddressMode;

Description

See Also

Document Notes

For more information, see theVulkan Specification.

This page is extracted from the Vulkan Specification.Fixes and changes should be made to the Specification, not directly.


[8]ページ先頭

©2009-2026 Movatter.jp