Package org.lwjgl.vulkan
Class VkPhysicalDeviceHostImageCopyPropertiesEXT
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPhysicalDeviceHostImageCopyProperties>
org.lwjgl.vulkan.VkPhysicalDeviceHostImageCopyProperties
org.lwjgl.vulkan.VkPhysicalDeviceHostImageCopyPropertiesEXT
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class VkPhysicalDeviceHostImageCopyPropertiesEXT
extends VkPhysicalDeviceHostImageCopyProperties
struct VkPhysicalDeviceHostImageCopyPropertiesEXT {
VkStructureType sType;
void * pNext;
uint32_t copySrcLayoutCount;
VkImageLayout * pCopySrcLayouts;
uint32_t copyDstLayoutCount;
VkImageLayout * pCopyDstLayouts;
uint8_t optimalTilingLayoutUUID[VK_UUID_SIZE];
VkBool32 identicalMemoryTypeRequirements;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofVkPhysicalDeviceHostImageCopyPropertiesEXT
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from class org.lwjgl.vulkan.VkPhysicalDeviceHostImageCopyProperties
ALIGNOF, COPYDSTLAYOUTCOUNT, COPYSRCLAYOUTCOUNT, IDENTICALMEMORYTYPEREQUIREMENTS, OPTIMALTILINGLAYOUTUUID, PCOPYDSTLAYOUTS, PCOPYSRCLAYOUTS, PNEXT, SIZEOF, STYPE
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkPhysicalDeviceHostImageCopyPropertiesEXT
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.copyDstLayoutCount
(int value) Sets the specified value to thecopyDstLayoutCount
field.copySrcLayoutCount
(int value) Sets the specified value to thecopySrcLayoutCount
field.create()
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT
instance for the specified memory address.create
(long address, int capacity) Create aVkPhysicalDeviceHostImageCopyPropertiesEXT.Buffer
instance at the specified memory.static @Nullable VkPhysicalDeviceHostImageCopyPropertiesEXT
createSafe
(long address) static @Nullable VkPhysicalDeviceHostImageCopyPropertiesEXT.Buffer
createSafe
(long address, int capacity) identicalMemoryTypeRequirements
(boolean value) Sets the specified value to theidenticalMemoryTypeRequirements
field.malloc()
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT
instance allocated on the specifiedMemoryStack
.optimalTilingLayoutUUID
(int index, byte value) Sets the specified value at the specified index of theoptimalTilingLayoutUUID
field.Copies the specifiedByteBuffer
to theoptimalTilingLayoutUUID
field.pCopyDstLayouts
(@Nullable IntBuffer value) Sets the address of the specifiedIntBuffer
to thepCopyDstLayouts
field.pCopySrcLayouts
(@Nullable IntBuffer value) Sets the address of the specifiedIntBuffer
to thepCopySrcLayouts
field.pNext
(long value) Sets the specified value to thepNext
field.set
(int sType, long pNext, int copySrcLayoutCount, @Nullable IntBuffer pCopySrcLayouts, int copyDstLayoutCount, @Nullable IntBuffer pCopyDstLayouts, ByteBuffer optimalTilingLayoutUUID, boolean identicalMemoryTypeRequirements) Initializes this struct with the specified values.Copies the specified struct data to this struct.sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_PROPERTIES
value to thesType
field.Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceHostImageCopyProperties
copyDstLayoutCount, copySrcLayoutCount, identicalMemoryTypeRequirements, ncopyDstLayoutCount, ncopyDstLayoutCount, ncopySrcLayoutCount, ncopySrcLayoutCount, nidenticalMemoryTypeRequirements, nidenticalMemoryTypeRequirements, noptimalTilingLayoutUUID, noptimalTilingLayoutUUID, noptimalTilingLayoutUUID, noptimalTilingLayoutUUID, npCopyDstLayouts, npCopyDstLayouts, npCopySrcLayouts, npCopySrcLayouts, npNext, npNext, nsType, nsType, optimalTilingLayoutUUID, optimalTilingLayoutUUID, pCopyDstLayouts, pCopySrcLayouts, pNext, set, sizeof, sType
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkPhysicalDeviceHostImageCopyPropertiesEXT
Creates aVkPhysicalDeviceHostImageCopyPropertiesEXT
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 Details
-
sType
Sets the specified value to thesType
field.- Overrides:
sType
in classVkPhysicalDeviceHostImageCopyProperties
-
sType$Default
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_PROPERTIES
value to thesType
field.- Overrides:
sType$Default
in classVkPhysicalDeviceHostImageCopyProperties
-
pNext
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkPhysicalDeviceHostImageCopyProperties
-
copySrcLayoutCount
Sets the specified value to thecopySrcLayoutCount
field.- Overrides:
copySrcLayoutCount
in classVkPhysicalDeviceHostImageCopyProperties
-
pCopySrcLayouts
Sets the address of the specifiedIntBuffer
to thepCopySrcLayouts
field.- Overrides:
pCopySrcLayouts
in classVkPhysicalDeviceHostImageCopyProperties
-
copyDstLayoutCount
Sets the specified value to thecopyDstLayoutCount
field.- Overrides:
copyDstLayoutCount
in classVkPhysicalDeviceHostImageCopyProperties
-
pCopyDstLayouts
Sets the address of the specifiedIntBuffer
to thepCopyDstLayouts
field.- Overrides:
pCopyDstLayouts
in classVkPhysicalDeviceHostImageCopyProperties
-
optimalTilingLayoutUUID
Copies the specifiedByteBuffer
to theoptimalTilingLayoutUUID
field.- Overrides:
optimalTilingLayoutUUID
in classVkPhysicalDeviceHostImageCopyProperties
-
optimalTilingLayoutUUID
Sets the specified value at the specified index of theoptimalTilingLayoutUUID
field.- Overrides:
optimalTilingLayoutUUID
in classVkPhysicalDeviceHostImageCopyProperties
-
identicalMemoryTypeRequirements
Sets the specified value to theidenticalMemoryTypeRequirements
field.- Overrides:
identicalMemoryTypeRequirements
in classVkPhysicalDeviceHostImageCopyProperties
-
set
public VkPhysicalDeviceHostImageCopyPropertiesEXT set(int sType, long pNext, int copySrcLayoutCount, @Nullable IntBuffer pCopySrcLayouts, int copyDstLayoutCount, @Nullable IntBuffer pCopyDstLayouts, ByteBuffer optimalTilingLayoutUUID, boolean identicalMemoryTypeRequirements) Initializes this struct with the specified values.- Overrides:
set
in classVkPhysicalDeviceHostImageCopyProperties
-
set
public VkPhysicalDeviceHostImageCopyPropertiesEXT set(VkPhysicalDeviceHostImageCopyPropertiesEXT src) Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT
instance allocated withBufferUtils
. -
create
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkPhysicalDeviceHostImageCopyPropertiesEXT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable VkPhysicalDeviceHostImageCopyPropertiesEXT.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceHostImageCopyPropertiesEXT.Buffer malloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceHostImageCopyPropertiesEXT.Buffer calloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-