Package org.lwjgl.vulkan
Class KHRSamplerMirrorClampToEdge
- java.lang.Object
-
- org.lwjgl.vulkan.KHRSamplerMirrorClampToEdge
-
public final class KHRSamplerMirrorClampToEdge extends java.lang.Object
Extends the set of sampler address modes to include an additional mode (SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE
) that effectively uses a texture map twice as large as the original image in which the additional half of the new image is a mirror image of the original image.This new mode relaxes the need to generate images whose opposite edges match by using the original image to generate a matching "mirror image". This mode allows the texture to be mirrored only once in the negative s, t, and r directions.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_EXTENSION_NAME
The extension name.static int
VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_SPEC_VERSION
The extension specification version.static int
VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE
Indicates that the mirror clamp to edge wrap mode will be used.
-
-
-
Field Detail
-
VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_SPEC_VERSION
public static final int VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_SPEC_VERSION
The extension specification version.- See Also:
- Constant Field Values
-
VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_EXTENSION_NAME
public static final java.lang.String VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_EXTENSION_NAME
The extension name.- See Also:
- Constant Field Values
-
VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE
public static final int VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE
Indicates that the mirror clamp to edge wrap mode will be used.- See Also:
- Constant Field Values
-
-