Package org.lwjgl.vulkan
Class VkSurfacePresentScalingCapabilitiesEXT.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkSurfacePresentScalingCapabilitiesKHR.Buffer>
org.lwjgl.system.StructBuffer<VkSurfacePresentScalingCapabilitiesKHR,VkSurfacePresentScalingCapabilitiesKHR.Buffer>
org.lwjgl.vulkan.VkSurfacePresentScalingCapabilitiesKHR.Buffer
org.lwjgl.vulkan.VkSurfacePresentScalingCapabilitiesEXT.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<VkSurfacePresentScalingCapabilitiesKHR>,NativeResource,Pointer
- Enclosing class:
VkSurfacePresentScalingCapabilitiesEXT
public static class VkSurfacePresentScalingCapabilitiesEXT.Buffer
extends VkSurfacePresentScalingCapabilitiesKHR.Buffer
An array of
VkSurfacePresentScalingCapabilitiesEXT structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newVkSurfacePresentScalingCapabilitiesEXT.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionmaxScaledImageExtent(Consumer<VkExtent2D> consumer) Passes themaxScaledImageExtentfield to the specifiedConsumer.maxScaledImageExtent(VkExtent2D value) Copies the specifiedVkExtent2Dto themaxScaledImageExtentfield.minScaledImageExtent(Consumer<VkExtent2D> consumer) Passes theminScaledImageExtentfield to the specifiedConsumer.minScaledImageExtent(VkExtent2D value) Copies the specifiedVkExtent2Dto theminScaledImageExtentfield.pNext(long value) Sets the specified value to thepNextfield.sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_SURFACE_PRESENT_SCALING_CAPABILITIES_KHRvalue to thesTypefield.supportedPresentGravityX(int value) Sets the specified value to thesupportedPresentGravityXfield.supportedPresentGravityY(int value) Sets the specified value to thesupportedPresentGravityYfield.supportedPresentScaling(int value) Sets the specified value to thesupportedPresentScalingfield.Methods inherited from class org.lwjgl.vulkan.VkSurfacePresentScalingCapabilitiesKHR.Buffer
maxScaledImageExtent, minScaledImageExtent, pNext, sType, supportedPresentGravityX, supportedPresentGravityY, supportedPresentScalingMethods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newVkSurfacePresentScalingCapabilitiesEXT.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 by
VkSurfacePresentScalingCapabilitiesKHR.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 Details
-
sType
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkSurfacePresentScalingCapabilitiesKHR.Buffer
-
sType$Default
Sets theSTRUCTURE_TYPE_SURFACE_PRESENT_SCALING_CAPABILITIES_KHRvalue to thesTypefield.- Overrides:
sType$Defaultin classVkSurfacePresentScalingCapabilitiesKHR.Buffer
-
pNext
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkSurfacePresentScalingCapabilitiesKHR.Buffer
-
supportedPresentScaling
Sets the specified value to thesupportedPresentScalingfield.- Overrides:
supportedPresentScalingin classVkSurfacePresentScalingCapabilitiesKHR.Buffer
-
supportedPresentGravityX
Sets the specified value to thesupportedPresentGravityXfield.- Overrides:
supportedPresentGravityXin classVkSurfacePresentScalingCapabilitiesKHR.Buffer
-
supportedPresentGravityY
Sets the specified value to thesupportedPresentGravityYfield.- Overrides:
supportedPresentGravityYin classVkSurfacePresentScalingCapabilitiesKHR.Buffer
-
minScaledImageExtent
Copies the specifiedVkExtent2Dto theminScaledImageExtentfield.- Overrides:
minScaledImageExtentin classVkSurfacePresentScalingCapabilitiesKHR.Buffer
-
minScaledImageExtent
public VkSurfacePresentScalingCapabilitiesEXT.Buffer minScaledImageExtent(Consumer<VkExtent2D> consumer) Passes theminScaledImageExtentfield to the specifiedConsumer.- Overrides:
minScaledImageExtentin classVkSurfacePresentScalingCapabilitiesKHR.Buffer
-
maxScaledImageExtent
Copies the specifiedVkExtent2Dto themaxScaledImageExtentfield.- Overrides:
maxScaledImageExtentin classVkSurfacePresentScalingCapabilitiesKHR.Buffer
-
maxScaledImageExtent
public VkSurfacePresentScalingCapabilitiesEXT.Buffer maxScaledImageExtent(Consumer<VkExtent2D> consumer) Passes themaxScaledImageExtentfield to the specifiedConsumer.- Overrides:
maxScaledImageExtentin classVkSurfacePresentScalingCapabilitiesKHR.Buffer
-