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 classVkImagePlaneMemoryRequirementsInfoKHR.BufferAn array ofVkImagePlaneMemoryRequirementsInfoKHRstructs.
-
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 aVkImagePlaneMemoryRequirementsInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkImagePlaneMemoryRequirementsInfoKHRcalloc()Returns a newVkImagePlaneMemoryRequirementsInfoKHRinstance allocated withmemCalloc.static VkImagePlaneMemoryRequirementsInfoKHR.Buffercalloc(int capacity)Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Bufferinstance allocated withmemCalloc.static VkImagePlaneMemoryRequirementsInfoKHRcallocStack()Returns a newVkImagePlaneMemoryRequirementsInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkImagePlaneMemoryRequirementsInfoKHR.BuffercallocStack(int capacity)Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkImagePlaneMemoryRequirementsInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkImagePlaneMemoryRequirementsInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkImagePlaneMemoryRequirementsInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkImagePlaneMemoryRequirementsInfoKHRcreate()Returns a newVkImagePlaneMemoryRequirementsInfoKHRinstance allocated withBufferUtils.static VkImagePlaneMemoryRequirementsInfoKHR.Buffercreate(int capacity)Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Bufferinstance allocated withBufferUtils.static VkImagePlaneMemoryRequirementsInfoKHRcreate(long address)Returns a newVkImagePlaneMemoryRequirementsInfoKHRinstance for the specified memory address.static VkImagePlaneMemoryRequirementsInfoKHR.Buffercreate(long address, int capacity)Create aVkImagePlaneMemoryRequirementsInfoKHR.Bufferinstance at the specified memory.static VkImagePlaneMemoryRequirementsInfoKHRcreateSafe(long address)static VkImagePlaneMemoryRequirementsInfoKHR.BuffercreateSafe(long address, int capacity)static VkImagePlaneMemoryRequirementsInfoKHRmalloc()Returns a newVkImagePlaneMemoryRequirementsInfoKHRinstance allocated withmemAlloc.static VkImagePlaneMemoryRequirementsInfoKHR.Buffermalloc(int capacity)Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Bufferinstance allocated withmemAlloc.static VkImagePlaneMemoryRequirementsInfoKHRmallocStack()Returns a newVkImagePlaneMemoryRequirementsInfoKHRinstance allocated on the thread-localMemoryStack.static VkImagePlaneMemoryRequirementsInfoKHR.BuffermallocStack(int capacity)Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkImagePlaneMemoryRequirementsInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkImagePlaneMemoryRequirementsInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkImagePlaneMemoryRequirementsInfoKHRinstance allocated on the specifiedMemoryStack.VkImagePlaneMemoryRequirementsInfoKHRplaneAspect(int value)Sets the specified value to theplaneAspectfield.VkImagePlaneMemoryRequirementsInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkImagePlaneMemoryRequirementsInfoKHRset(int sType, long pNext, int planeAspect)Initializes this struct with the specified values.VkImagePlaneMemoryRequirementsInfoKHRset(VkImagePlaneMemoryRequirementsInfoKHR src)Copies the specified struct data to this struct.VkImagePlaneMemoryRequirementsInfoKHRsType(int value)Sets the specified value to thesTypefield.-
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 aVkImagePlaneMemoryRequirementsInfoKHRinstance at the current position of the specifiedByteBuffercontainer. 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 thesTypefield.- Overrides:
sTypein classVkImagePlaneMemoryRequirementsInfo
-
pNext
public VkImagePlaneMemoryRequirementsInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkImagePlaneMemoryRequirementsInfo
-
planeAspect
public VkImagePlaneMemoryRequirementsInfoKHR planeAspect(int value)
Sets the specified value to theplaneAspectfield.- Overrides:
planeAspectin classVkImagePlaneMemoryRequirementsInfo
-
set
public VkImagePlaneMemoryRequirementsInfoKHR set(int sType, long pNext, int planeAspect)
Initializes this struct with the specified values.- Overrides:
setin 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 newVkImagePlaneMemoryRequirementsInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkImagePlaneMemoryRequirementsInfoKHR calloc()
Returns a newVkImagePlaneMemoryRequirementsInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkImagePlaneMemoryRequirementsInfoKHR create()
Returns a newVkImagePlaneMemoryRequirementsInfoKHRinstance allocated withBufferUtils.
-
create
public static VkImagePlaneMemoryRequirementsInfoKHR create(long address)
Returns a newVkImagePlaneMemoryRequirementsInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkImagePlaneMemoryRequirementsInfoKHR createSafe(long address)
-
malloc
public static VkImagePlaneMemoryRequirementsInfoKHR.Buffer malloc(int capacity)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkImagePlaneMemoryRequirementsInfoKHR.Buffer calloc(int capacity)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkImagePlaneMemoryRequirementsInfoKHR.Buffer create(int capacity)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkImagePlaneMemoryRequirementsInfoKHR.Buffer create(long address, int capacity)
Create aVkImagePlaneMemoryRequirementsInfoKHR.Bufferinstance 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 newVkImagePlaneMemoryRequirementsInfoKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkImagePlaneMemoryRequirementsInfoKHR callocStack()
Returns a newVkImagePlaneMemoryRequirementsInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkImagePlaneMemoryRequirementsInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkImagePlaneMemoryRequirementsInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkImagePlaneMemoryRequirementsInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkImagePlaneMemoryRequirementsInfoKHRinstance allocated on the specifiedMemoryStackand 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.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkImagePlaneMemoryRequirementsInfoKHR.Buffer callocStack(int capacity)
Returns a newVkImagePlaneMemoryRequirementsInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand 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.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-