Hello Guest

Where is VK10/VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE

  • 2 Replies
  • 3529 Views

*

Offline spasi

  • *****
  • 2261
    • WebHotelier
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.

*

Offline spasi

  • *****
  • 2261
    • WebHotelier
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.