LWJGL Forum

Please login or register.

Login with username, password and session length

Author Topic: Where is VK10/VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE  (Read 117 times)

spasi

  • Administrator
  • Nerdus Imperius
  • *****
  • Offline Offline
  • Posts: 1805
Re: Where is VK10/VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE
« Reply #1 on: May 19, 2017, 07:05:40 »

From the VkSamplerCreateInfo javadoc:

Quote
SAMPLER_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.
Logged

spasi

  • Administrator
  • Nerdus Imperius
  • *****
  • Offline Offline
  • Posts: 1805
Re: Where is VK10/VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE
« Reply #2 on: May 19, 2017, 07:09:24 »

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.
Logged