Package org.lwjgl.vulkan
Class VkImagePlaneMemoryRequirementsInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkImagePlaneMemoryRequirementsInfo
-
- org.lwjgl.vulkan.VkImagePlaneMemoryRequirementsInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkImagePlaneMemoryRequirementsInfoKHR extends VkImagePlaneMemoryRequirementsInfo
SeeVkImagePlaneMemoryRequirementsInfo
.Layout
struct VkImagePlaneMemoryRequirementsInfoKHR { VkStructureType sType; void const * pNext; VkImageAspectFlagBits planeAspect; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkImagePlaneMemoryRequirementsInfoKHR.Buffer
An array ofVkImagePlaneMemoryRequirementsInfoKHR
structs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkImagePlaneMemoryRequirementsInfo
ALIGNOF, PLANEASPECT, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkImagePlaneMemoryRequirementsInfoKHR(java.nio.ByteBuffer container)
Creates aVkImagePlaneMemoryRequirementsInfoKHR
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkImagePlaneMemoryRequirementsInfoKHR
calloc()
Returns a newVkImagePlaneMemoryRequirementsInfoKHR
instance allocated withmemCalloc
.static VkImagePlaneMemoryRequirementsInfoKHR.Buffer
calloc(int capacity)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Buffer
instance allocated withmemCalloc
.static VkImagePlaneMemoryRequirementsInfoKHR
callocStack()
Returns a newVkImagePlaneMemoryRequirementsInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkImagePlaneMemoryRequirementsInfoKHR.Buffer
callocStack(int capacity)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkImagePlaneMemoryRequirementsInfoKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkImagePlaneMemoryRequirementsInfoKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkImagePlaneMemoryRequirementsInfoKHR
create()
Returns a newVkImagePlaneMemoryRequirementsInfoKHR
instance allocated withBufferUtils
.static VkImagePlaneMemoryRequirementsInfoKHR.Buffer
create(int capacity)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Buffer
instance allocated withBufferUtils
.static VkImagePlaneMemoryRequirementsInfoKHR
create(long address)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR
instance for the specified memory address.static VkImagePlaneMemoryRequirementsInfoKHR.Buffer
create(long address, int capacity)
Create aVkImagePlaneMemoryRequirementsInfoKHR.Buffer
instance at the specified memory.static VkImagePlaneMemoryRequirementsInfoKHR
createSafe(long address)
static VkImagePlaneMemoryRequirementsInfoKHR.Buffer
createSafe(long address, int capacity)
static VkImagePlaneMemoryRequirementsInfoKHR
malloc()
Returns a newVkImagePlaneMemoryRequirementsInfoKHR
instance allocated withmemAlloc
.static VkImagePlaneMemoryRequirementsInfoKHR.Buffer
malloc(int capacity)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Buffer
instance allocated withmemAlloc
.static VkImagePlaneMemoryRequirementsInfoKHR
mallocStack()
Returns a newVkImagePlaneMemoryRequirementsInfoKHR
instance allocated on the thread-localMemoryStack
.static VkImagePlaneMemoryRequirementsInfoKHR.Buffer
mallocStack(int capacity)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkImagePlaneMemoryRequirementsInfoKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkImagePlaneMemoryRequirementsInfoKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR
instance allocated on the specifiedMemoryStack
.VkImagePlaneMemoryRequirementsInfoKHR
planeAspect(int value)
Sets the specified value to theplaneAspect
field.VkImagePlaneMemoryRequirementsInfoKHR
pNext(long value)
Sets the specified value to thepNext
field.VkImagePlaneMemoryRequirementsInfoKHR
set(int sType, long pNext, int planeAspect)
Initializes this struct with the specified values.VkImagePlaneMemoryRequirementsInfoKHR
set(VkImagePlaneMemoryRequirementsInfoKHR src)
Copies the specified struct data to this struct.VkImagePlaneMemoryRequirementsInfoKHR
sType(int value)
Sets the specified value to thesType
field.-
Methods inherited from class org.lwjgl.vulkan.VkImagePlaneMemoryRequirementsInfo
nplaneAspect, nplaneAspect, npNext, npNext, nsType, nsType, planeAspect, pNext, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkImagePlaneMemoryRequirementsInfoKHR
public VkImagePlaneMemoryRequirementsInfoKHR(java.nio.ByteBuffer container)
Creates aVkImagePlaneMemoryRequirementsInfoKHR
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sType
public VkImagePlaneMemoryRequirementsInfoKHR sType(int value)
Sets the specified value to thesType
field.- Overrides:
sType
in classVkImagePlaneMemoryRequirementsInfo
-
pNext
public VkImagePlaneMemoryRequirementsInfoKHR pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkImagePlaneMemoryRequirementsInfo
-
planeAspect
public VkImagePlaneMemoryRequirementsInfoKHR planeAspect(int value)
Sets the specified value to theplaneAspect
field.- Overrides:
planeAspect
in classVkImagePlaneMemoryRequirementsInfo
-
set
public VkImagePlaneMemoryRequirementsInfoKHR set(int sType, long pNext, int planeAspect)
Initializes this struct with the specified values.- Overrides:
set
in classVkImagePlaneMemoryRequirementsInfo
-
set
public VkImagePlaneMemoryRequirementsInfoKHR set(VkImagePlaneMemoryRequirementsInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkImagePlaneMemoryRequirementsInfoKHR malloc()
Returns a newVkImagePlaneMemoryRequirementsInfoKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkImagePlaneMemoryRequirementsInfoKHR calloc()
Returns a newVkImagePlaneMemoryRequirementsInfoKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkImagePlaneMemoryRequirementsInfoKHR create()
Returns a newVkImagePlaneMemoryRequirementsInfoKHR
instance allocated withBufferUtils
.
-
create
public static VkImagePlaneMemoryRequirementsInfoKHR create(long address)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkImagePlaneMemoryRequirementsInfoKHR createSafe(long address)
-
malloc
public static VkImagePlaneMemoryRequirementsInfoKHR.Buffer malloc(int capacity)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkImagePlaneMemoryRequirementsInfoKHR.Buffer calloc(int capacity)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkImagePlaneMemoryRequirementsInfoKHR.Buffer create(int capacity)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkImagePlaneMemoryRequirementsInfoKHR.Buffer create(long address, int capacity)
Create aVkImagePlaneMemoryRequirementsInfoKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkImagePlaneMemoryRequirementsInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkImagePlaneMemoryRequirementsInfoKHR mallocStack()
Returns a newVkImagePlaneMemoryRequirementsInfoKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkImagePlaneMemoryRequirementsInfoKHR callocStack()
Returns a newVkImagePlaneMemoryRequirementsInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkImagePlaneMemoryRequirementsInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkImagePlaneMemoryRequirementsInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkImagePlaneMemoryRequirementsInfoKHR.Buffer mallocStack(int capacity)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkImagePlaneMemoryRequirementsInfoKHR.Buffer callocStack(int capacity)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkImagePlaneMemoryRequirementsInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkImagePlaneMemoryRequirementsInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-