Where is VK10/VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE

Started by bcbradle, May 19, 2017, 01:02:51

Previous topic - Next topic

spasi

From the VkSamplerCreateInfo javadoc:

QuoteSAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE indicates that the mirror clamp to edge wrap mode will be used. This is only valid if the VK_KHR_mirror_clamp_to_edge extension is enabled.

You will find VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE in KHRSamplerMirrorClampToEdge. You must explicitly enable the VK_KHR_sampler_mirror_clamp_to_edge extension to use it.

spasi

Also, a tip: The LWJGL javadoc is generated using jdk9, which adds search functionality. You can visit https://javadoc.lwjgl.org/ and use the search field to find the API you're looking for.