Package org.lwjgl.vulkan
Class VkDisplaySurfaceCreateInfoKHR.Buffer
- java.lang.Object
-
- org.lwjgl.system.StructBuffer<VkDisplaySurfaceCreateInfoKHR,VkDisplaySurfaceCreateInfoKHR.Buffer>
-
- org.lwjgl.vulkan.VkDisplaySurfaceCreateInfoKHR.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- VkDisplaySurfaceCreateInfoKHR
public static final class VkDisplaySurfaceCreateInfoKHR.Buffer extends StructBuffer<VkDisplaySurfaceCreateInfoKHR,VkDisplaySurfaceCreateInfoKHR.Buffer>
An array ofVkDisplaySurfaceCreateInfoKHRstructs.
-
-
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
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)Creates a newVkDisplaySurfaceCreateInfoKHR.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intalphaMode()Returns the value of thealphaModefield.VkDisplaySurfaceCreateInfoKHR.BufferalphaMode(int value)Sets the specified value to thealphaModefield.longdisplayMode()Returns the value of thedisplayModefield.VkDisplaySurfaceCreateInfoKHR.BufferdisplayMode(long value)Sets the specified value to thedisplayModefield.intflags()Returns the value of theflagsfield.VkDisplaySurfaceCreateInfoKHR.Bufferflags(int value)Sets the specified value to theflagsfield.floatglobalAlpha()Returns the value of theglobalAlphafield.VkDisplaySurfaceCreateInfoKHR.BufferglobalAlpha(float value)Sets the specified value to theglobalAlphafield.VkExtent2DimageExtent()Returns aVkExtent2Dview of theimageExtentfield.VkDisplaySurfaceCreateInfoKHR.BufferimageExtent(VkExtent2D value)Copies the specifiedVkExtent2Dto theimageExtentfield.intplaneIndex()Returns the value of theplaneIndexfield.VkDisplaySurfaceCreateInfoKHR.BufferplaneIndex(int value)Sets the specified value to theplaneIndexfield.intplaneStackIndex()Returns the value of theplaneStackIndexfield.VkDisplaySurfaceCreateInfoKHR.BufferplaneStackIndex(int value)Sets the specified value to theplaneStackIndexfield.longpNext()Returns the value of thepNextfield.VkDisplaySurfaceCreateInfoKHR.BufferpNext(long value)Sets the specified value to thepNextfield.intsType()Returns the value of thesTypefield.VkDisplaySurfaceCreateInfoKHR.BuffersType(int value)Sets the specified value to thesTypefield.inttransform()Returns the value of thetransformfield.VkDisplaySurfaceCreateInfoKHR.Buffertransform(int value)Sets the specified value to thetransformfield.-
Methods inherited from class org.lwjgl.system.StructBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, get, get, get, get, hasRemaining, limit, limit, mark, position, position, put, put, put, remaining, reset, rewind, slice, slice, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkDisplaySurfaceCreateInfoKHR.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 byVkDisplaySurfaceCreateInfoKHR.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
-
Method Detail
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
flags
public int flags()
Returns the value of theflagsfield.
-
displayMode
public long displayMode()
Returns the value of thedisplayModefield.
-
planeIndex
public int planeIndex()
Returns the value of theplaneIndexfield.
-
planeStackIndex
public int planeStackIndex()
Returns the value of theplaneStackIndexfield.
-
transform
public int transform()
Returns the value of thetransformfield.
-
globalAlpha
public float globalAlpha()
Returns the value of theglobalAlphafield.
-
alphaMode
public int alphaMode()
Returns the value of thealphaModefield.
-
imageExtent
public VkExtent2D imageExtent()
Returns aVkExtent2Dview of theimageExtentfield.
-
sType
public VkDisplaySurfaceCreateInfoKHR.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkDisplaySurfaceCreateInfoKHR.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
flags
public VkDisplaySurfaceCreateInfoKHR.Buffer flags(int value)
Sets the specified value to theflagsfield.
-
displayMode
public VkDisplaySurfaceCreateInfoKHR.Buffer displayMode(long value)
Sets the specified value to thedisplayModefield.
-
planeIndex
public VkDisplaySurfaceCreateInfoKHR.Buffer planeIndex(int value)
Sets the specified value to theplaneIndexfield.
-
planeStackIndex
public VkDisplaySurfaceCreateInfoKHR.Buffer planeStackIndex(int value)
Sets the specified value to theplaneStackIndexfield.
-
transform
public VkDisplaySurfaceCreateInfoKHR.Buffer transform(int value)
Sets the specified value to thetransformfield.
-
globalAlpha
public VkDisplaySurfaceCreateInfoKHR.Buffer globalAlpha(float value)
Sets the specified value to theglobalAlphafield.
-
alphaMode
public VkDisplaySurfaceCreateInfoKHR.Buffer alphaMode(int value)
Sets the specified value to thealphaModefield.
-
imageExtent
public VkDisplaySurfaceCreateInfoKHR.Buffer imageExtent(VkExtent2D value)
Copies the specifiedVkExtent2Dto theimageExtentfield.
-
-