Package org.lwjgl.vulkan
Class VkPhysicalDeviceBorderColorSwizzleFeaturesEXT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkPhysicalDeviceBorderColorSwizzleFeaturesEXT,VkPhysicalDeviceBorderColorSwizzleFeaturesEXT.Buffer>
-
- org.lwjgl.vulkan.VkPhysicalDeviceBorderColorSwizzleFeaturesEXT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkPhysicalDeviceBorderColorSwizzleFeaturesEXT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkPhysicalDeviceBorderColorSwizzleFeaturesEXT
public static class VkPhysicalDeviceBorderColorSwizzleFeaturesEXT.Buffer extends org.lwjgl.system.StructBuffer<VkPhysicalDeviceBorderColorSwizzleFeaturesEXT,VkPhysicalDeviceBorderColorSwizzleFeaturesEXT.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkPhysicalDeviceBorderColorSwizzleFeaturesEXTstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkPhysicalDeviceBorderColorSwizzleFeaturesEXT.Bufferinstance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided byVkPhysicalDeviceBorderColorSwizzleFeaturesEXT.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
sType
public int sType()
- Returns:
- the value of the
VkPhysicalDeviceBorderColorSwizzleFeaturesEXT.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkPhysicalDeviceBorderColorSwizzleFeaturesEXT.pNext()field.
-
borderColorSwizzle
public boolean borderColorSwizzle()
- Returns:
- the value of the
VkPhysicalDeviceBorderColorSwizzleFeaturesEXT.borderColorSwizzle()field.
-
borderColorSwizzleFromImage
public boolean borderColorSwizzleFromImage()
- Returns:
- the value of the
VkPhysicalDeviceBorderColorSwizzleFeaturesEXT.borderColorSwizzleFromImage()field.
-
sType
public VkPhysicalDeviceBorderColorSwizzleFeaturesEXT.Buffer sType(int value)
Sets the specified value to theVkPhysicalDeviceBorderColorSwizzleFeaturesEXT.sType()field.
-
sType$Default
public VkPhysicalDeviceBorderColorSwizzleFeaturesEXT.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_BORDER_COLOR_SWIZZLE_FEATURES_EXTvalue to theVkPhysicalDeviceBorderColorSwizzleFeaturesEXT.sType()field.
-
pNext
public VkPhysicalDeviceBorderColorSwizzleFeaturesEXT.Buffer pNext(long value)
Sets the specified value to theVkPhysicalDeviceBorderColorSwizzleFeaturesEXT.pNext()field.
-
borderColorSwizzle
public VkPhysicalDeviceBorderColorSwizzleFeaturesEXT.Buffer borderColorSwizzle(boolean value)
Sets the specified value to theVkPhysicalDeviceBorderColorSwizzleFeaturesEXT.borderColorSwizzle()field.
-
borderColorSwizzleFromImage
public VkPhysicalDeviceBorderColorSwizzleFeaturesEXT.Buffer borderColorSwizzleFromImage(boolean value)
Sets the specified value to theVkPhysicalDeviceBorderColorSwizzleFeaturesEXT.borderColorSwizzleFromImage()field.
-
-