Class VkSamplerCustomBorderColorCreateInfoEXT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkSamplerCustomBorderColorCreateInfoEXT>
org.lwjgl.vulkan.VkSamplerCustomBorderColorCreateInfoEXT
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkSamplerCustomBorderColorCreateInfoEXT extends org.lwjgl.system.Struct<VkSamplerCustomBorderColorCreateInfoEXT> implements org.lwjgl.system.NativeResource
Structure specifying custom border color.
Description
Note

If format is a depth/stencil format, the aspect is determined by the value of VkSamplerCreateInfo::borderColor. If VkSamplerCreateInfo::borderColor is BORDER_COLOR_FLOAT_CUSTOM_EXT, the depth aspect is considered. If VkSamplerCreateInfo::borderColor is BORDER_COLOR_INT_CUSTOM_EXT, the stencil aspect is considered.

If format is FORMAT_UNDEFINED, the VkSamplerCreateInfo::borderColor is BORDER_COLOR_INT_CUSTOM_EXT, and the sampler is used with an image with a stencil format, then the implementation must source the custom border color from either the first or second components of VkSamplerCreateInfo::customBorderColor and should source it from the first component.

Valid Usage
Valid Usage (Implicit)
See Also

VkClearColorValue

Layout


 struct VkSamplerCustomBorderColorCreateInfoEXT {
     VkStructureType sType();
     void const * pNext();
     VkClearColorValue customBorderColor();
     VkFormat format();
 }