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 classAn array ofVkPhysicalDeviceHostImageCopyPropertiesEXTstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested 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, STYPEFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkPhysicalDeviceHostImageCopyPropertiesEXTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXTinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.copyDstLayoutCount(int value) Sets the specified value to thecopyDstLayoutCountfield.copySrcLayoutCount(int value) Sets the specified value to thecopySrcLayoutCountfield.create()Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXTinstance allocated withBufferUtils.create(int capacity) Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXTinstance for the specified memory address.create(long address, int capacity) Create aVkPhysicalDeviceHostImageCopyPropertiesEXT.Bufferinstance at the specified memory.static @Nullable VkPhysicalDeviceHostImageCopyPropertiesEXTcreateSafe(long address) static @Nullable VkPhysicalDeviceHostImageCopyPropertiesEXT.BuffercreateSafe(long address, int capacity) identicalMemoryTypeRequirements(boolean value) Sets the specified value to theidenticalMemoryTypeRequirementsfield.malloc()Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXTinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXTinstance allocated on the specifiedMemoryStack.optimalTilingLayoutUUID(int index, byte value) Sets the specified value at the specified index of theoptimalTilingLayoutUUIDfield.Copies the specifiedByteBufferto theoptimalTilingLayoutUUIDfield.pCopyDstLayouts(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto thepCopyDstLayoutsfield.pCopySrcLayouts(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto thepCopySrcLayoutsfield.pNext(long value) Sets the specified value to thepNextfield.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 thesTypefield.Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_PROPERTIESvalue to thesTypefield.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, sTypeMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkPhysicalDeviceHostImageCopyPropertiesEXT
Creates aVkPhysicalDeviceHostImageCopyPropertiesEXTinstance 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 Details
-
sType
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceHostImageCopyProperties
-
sType$Default
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_PROPERTIESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceHostImageCopyProperties
-
pNext
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceHostImageCopyProperties
-
copySrcLayoutCount
Sets the specified value to thecopySrcLayoutCountfield.- Overrides:
copySrcLayoutCountin classVkPhysicalDeviceHostImageCopyProperties
-
pCopySrcLayouts
Sets the address of the specifiedIntBufferto thepCopySrcLayoutsfield.- Overrides:
pCopySrcLayoutsin classVkPhysicalDeviceHostImageCopyProperties
-
copyDstLayoutCount
Sets the specified value to thecopyDstLayoutCountfield.- Overrides:
copyDstLayoutCountin classVkPhysicalDeviceHostImageCopyProperties
-
pCopyDstLayouts
Sets the address of the specifiedIntBufferto thepCopyDstLayoutsfield.- Overrides:
pCopyDstLayoutsin classVkPhysicalDeviceHostImageCopyProperties
-
optimalTilingLayoutUUID
Copies the specifiedByteBufferto theoptimalTilingLayoutUUIDfield.- Overrides:
optimalTilingLayoutUUIDin classVkPhysicalDeviceHostImageCopyProperties
-
optimalTilingLayoutUUID
Sets the specified value at the specified index of theoptimalTilingLayoutUUIDfield.- Overrides:
optimalTilingLayoutUUIDin classVkPhysicalDeviceHostImageCopyProperties
-
identicalMemoryTypeRequirements
Sets the specified value to theidenticalMemoryTypeRequirementsfield.- Overrides:
identicalMemoryTypeRequirementsin 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:
setin 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 newVkPhysicalDeviceHostImageCopyPropertiesEXTinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXTinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXTinstance allocated withBufferUtils. -
create
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXTinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkPhysicalDeviceHostImageCopyPropertiesEXT.Bufferinstance 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 newVkPhysicalDeviceHostImageCopyPropertiesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkPhysicalDeviceHostImageCopyPropertiesEXTinstance allocated on the specifiedMemoryStackand 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.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-