Class VkPhysicalDeviceDescriptorHeapPropertiesEXT
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPhysicalDeviceDescriptorHeapPropertiesEXT>
org.lwjgl.vulkan.VkPhysicalDeviceDescriptorHeapPropertiesEXT
- All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer
public class VkPhysicalDeviceDescriptorHeapPropertiesEXT
extends Struct<VkPhysicalDeviceDescriptorHeapPropertiesEXT>
implements NativeResource
struct VkPhysicalDeviceDescriptorHeapPropertiesEXT {
VkStructureType sType;
void * pNext;
VkDeviceSize samplerHeapAlignment;
VkDeviceSize resourceHeapAlignment;
VkDeviceSize maxSamplerHeapSize;
VkDeviceSize maxResourceHeapSize;
VkDeviceSize minSamplerHeapReservedRange;
VkDeviceSize minSamplerHeapReservedRangeWithEmbedded;
VkDeviceSize minResourceHeapReservedRange;
VkDeviceSize samplerDescriptorSize;
VkDeviceSize imageDescriptorSize;
VkDeviceSize bufferDescriptorSize;
VkDeviceSize samplerDescriptorAlignment;
VkDeviceSize imageDescriptorAlignment;
VkDeviceSize bufferDescriptorAlignment;
VkDeviceSize maxPushDataSize;
size_t imageCaptureReplayOpaqueDataSize;
uint32_t maxDescriptorHeapEmbeddedSamplers;
uint32_t samplerYcbcrConversionCount;
VkBool32 sparseDescriptorHeaps;
VkBool32 protectedDescriptorHeaps;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkPhysicalDeviceDescriptorHeapPropertiesEXTstructs.Nested classes/interfaces inherited from class Struct
Struct.StructValidationNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkPhysicalDeviceDescriptorHeapPropertiesEXTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionlonglongcalloc()Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXTinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXT.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXTinstance allocated withBufferUtils.create(int capacity) Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXT.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXTinstance for the specified memory address.create(long address, int capacity) Create aVkPhysicalDeviceDescriptorHeapPropertiesEXT.Bufferinstance at the specified memory.static @Nullable VkPhysicalDeviceDescriptorHeapPropertiesEXTcreateSafe(long address) static @Nullable VkPhysicalDeviceDescriptorHeapPropertiesEXT.BuffercreateSafe(long address, int capacity) longlonglongmalloc()Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXTinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXT.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXTinstance allocated on the specifiedMemoryStack.intlonglonglonglonglonglongstatic longnbufferDescriptorAlignment(long struct) Unsafe version ofbufferDescriptorAlignment().static longnbufferDescriptorSize(long struct) Unsafe version ofbufferDescriptorSize().static longnimageCaptureReplayOpaqueDataSize(long struct) Unsafe version ofimageCaptureReplayOpaqueDataSize().static longnimageDescriptorAlignment(long struct) Unsafe version ofimageDescriptorAlignment().static longnimageDescriptorSize(long struct) Unsafe version ofimageDescriptorSize().static intnmaxDescriptorHeapEmbeddedSamplers(long struct) Unsafe version ofmaxDescriptorHeapEmbeddedSamplers().static longnmaxPushDataSize(long struct) Unsafe version ofmaxPushDataSize().static longnmaxResourceHeapSize(long struct) Unsafe version ofmaxResourceHeapSize().static longnmaxSamplerHeapSize(long struct) Unsafe version ofmaxSamplerHeapSize().static longnminResourceHeapReservedRange(long struct) Unsafe version ofminResourceHeapReservedRange().static longnminSamplerHeapReservedRange(long struct) Unsafe version ofminSamplerHeapReservedRange().static longnminSamplerHeapReservedRangeWithEmbedded(long struct) Unsafe version ofminSamplerHeapReservedRangeWithEmbedded().static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static intnprotectedDescriptorHeaps(long struct) Unsafe version ofprotectedDescriptorHeaps().static longnresourceHeapAlignment(long struct) Unsafe version ofresourceHeapAlignment().static longnsamplerDescriptorAlignment(long struct) Unsafe version ofsamplerDescriptorAlignment().static longnsamplerDescriptorSize(long struct) Unsafe version ofsamplerDescriptorSize().static longnsamplerHeapAlignment(long struct) Unsafe version ofsamplerHeapAlignment().static intnsamplerYcbcrConversionCount(long struct) Unsafe version ofsamplerYcbcrConversionCount().static intnsparseDescriptorHeaps(long struct) Unsafe version ofsparseDescriptorHeaps().static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.longpNext()pNext(long value) Sets the specified value to thepNextfield.booleanlonglonglonglongintset(int sType, long pNext) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).booleanintsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_HEAP_PROPERTIES_EXTvalue to thesTypefield.Methods inherited from class Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
STYPE
public static final int STYPEThe struct member offsets. -
PNEXT
public static final int PNEXTThe struct member offsets. -
SAMPLERHEAPALIGNMENT
public static final int SAMPLERHEAPALIGNMENTThe struct member offsets. -
RESOURCEHEAPALIGNMENT
public static final int RESOURCEHEAPALIGNMENTThe struct member offsets. -
MAXSAMPLERHEAPSIZE
public static final int MAXSAMPLERHEAPSIZEThe struct member offsets. -
MAXRESOURCEHEAPSIZE
public static final int MAXRESOURCEHEAPSIZEThe struct member offsets. -
MINSAMPLERHEAPRESERVEDRANGE
public static final int MINSAMPLERHEAPRESERVEDRANGEThe struct member offsets. -
MINSAMPLERHEAPRESERVEDRANGEWITHEMBEDDED
public static final int MINSAMPLERHEAPRESERVEDRANGEWITHEMBEDDEDThe struct member offsets. -
MINRESOURCEHEAPRESERVEDRANGE
public static final int MINRESOURCEHEAPRESERVEDRANGEThe struct member offsets. -
SAMPLERDESCRIPTORSIZE
public static final int SAMPLERDESCRIPTORSIZEThe struct member offsets. -
IMAGEDESCRIPTORSIZE
public static final int IMAGEDESCRIPTORSIZEThe struct member offsets. -
BUFFERDESCRIPTORSIZE
public static final int BUFFERDESCRIPTORSIZEThe struct member offsets. -
SAMPLERDESCRIPTORALIGNMENT
public static final int SAMPLERDESCRIPTORALIGNMENTThe struct member offsets. -
IMAGEDESCRIPTORALIGNMENT
public static final int IMAGEDESCRIPTORALIGNMENTThe struct member offsets. -
BUFFERDESCRIPTORALIGNMENT
public static final int BUFFERDESCRIPTORALIGNMENTThe struct member offsets. -
MAXPUSHDATASIZE
public static final int MAXPUSHDATASIZEThe struct member offsets. -
IMAGECAPTUREREPLAYOPAQUEDATASIZE
public static final int IMAGECAPTUREREPLAYOPAQUEDATASIZEThe struct member offsets. -
MAXDESCRIPTORHEAPEMBEDDEDSAMPLERS
public static final int MAXDESCRIPTORHEAPEMBEDDEDSAMPLERSThe struct member offsets. -
SAMPLERYCBCRCONVERSIONCOUNT
public static final int SAMPLERYCBCRCONVERSIONCOUNTThe struct member offsets. -
SPARSEDESCRIPTORHEAPS
public static final int SPARSEDESCRIPTORHEAPSThe struct member offsets. -
PROTECTEDDESCRIPTORHEAPS
public static final int PROTECTEDDESCRIPTORHEAPSThe struct member offsets.
-
-
Constructor Details
-
VkPhysicalDeviceDescriptorHeapPropertiesEXT
Creates aVkPhysicalDeviceDescriptorHeapPropertiesEXTinstance 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
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkPhysicalDeviceDescriptorHeapPropertiesEXT>
-
sType
- Returns:
- the value of the
sTypefield.
-
pNext
- Returns:
- the value of the
pNextfield.
-
samplerHeapAlignment
- Returns:
- the value of the
samplerHeapAlignmentfield.
-
resourceHeapAlignment
- Returns:
- the value of the
resourceHeapAlignmentfield.
-
maxSamplerHeapSize
- Returns:
- the value of the
maxSamplerHeapSizefield.
-
maxResourceHeapSize
- Returns:
- the value of the
maxResourceHeapSizefield.
-
minSamplerHeapReservedRange
- Returns:
- the value of the
minSamplerHeapReservedRangefield.
-
minSamplerHeapReservedRangeWithEmbedded
- Returns:
- the value of the
minSamplerHeapReservedRangeWithEmbeddedfield.
-
minResourceHeapReservedRange
- Returns:
- the value of the
minResourceHeapReservedRangefield.
-
samplerDescriptorSize
- Returns:
- the value of the
samplerDescriptorSizefield.
-
imageDescriptorSize
- Returns:
- the value of the
imageDescriptorSizefield.
-
bufferDescriptorSize
- Returns:
- the value of the
bufferDescriptorSizefield.
-
samplerDescriptorAlignment
- Returns:
- the value of the
samplerDescriptorAlignmentfield.
-
imageDescriptorAlignment
- Returns:
- the value of the
imageDescriptorAlignmentfield.
-
bufferDescriptorAlignment
- Returns:
- the value of the
bufferDescriptorAlignmentfield.
-
maxPushDataSize
- Returns:
- the value of the
maxPushDataSizefield.
-
imageCaptureReplayOpaqueDataSize
- Returns:
- the value of the
imageCaptureReplayOpaqueDataSizefield.
-
maxDescriptorHeapEmbeddedSamplers
- Returns:
- the value of the
maxDescriptorHeapEmbeddedSamplersfield.
-
samplerYcbcrConversionCount
- Returns:
- the value of the
samplerYcbcrConversionCountfield.
-
sparseDescriptorHeaps
- Returns:
- the value of the
sparseDescriptorHeapsfield.
-
protectedDescriptorHeaps
- Returns:
- the value of the
protectedDescriptorHeapsfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_HEAP_PROPERTIES_EXTvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
set
Initializes this struct with the specified values. -
set
public VkPhysicalDeviceDescriptorHeapPropertiesEXT set(VkPhysicalDeviceDescriptorHeapPropertiesEXT src) Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXTinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXTinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXTinstance allocated withBufferUtils. -
create
Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXTinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkPhysicalDeviceDescriptorHeapPropertiesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkPhysicalDeviceDescriptorHeapPropertiesEXT.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceDescriptorHeapPropertiesEXT.Buffer malloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceDescriptorHeapPropertiesEXT.Buffer calloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceDescriptorHeapPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nsType
public static int nsType(long struct) Unsafe version ofsType(). -
npNext
public static long npNext(long struct) Unsafe version ofpNext(). -
nsamplerHeapAlignment
public static long nsamplerHeapAlignment(long struct) Unsafe version ofsamplerHeapAlignment(). -
nresourceHeapAlignment
public static long nresourceHeapAlignment(long struct) Unsafe version ofresourceHeapAlignment(). -
nmaxSamplerHeapSize
public static long nmaxSamplerHeapSize(long struct) Unsafe version ofmaxSamplerHeapSize(). -
nmaxResourceHeapSize
public static long nmaxResourceHeapSize(long struct) Unsafe version ofmaxResourceHeapSize(). -
nminSamplerHeapReservedRange
public static long nminSamplerHeapReservedRange(long struct) Unsafe version ofminSamplerHeapReservedRange(). -
nminSamplerHeapReservedRangeWithEmbedded
public static long nminSamplerHeapReservedRangeWithEmbedded(long struct) Unsafe version ofminSamplerHeapReservedRangeWithEmbedded(). -
nminResourceHeapReservedRange
public static long nminResourceHeapReservedRange(long struct) Unsafe version ofminResourceHeapReservedRange(). -
nsamplerDescriptorSize
public static long nsamplerDescriptorSize(long struct) Unsafe version ofsamplerDescriptorSize(). -
nimageDescriptorSize
public static long nimageDescriptorSize(long struct) Unsafe version ofimageDescriptorSize(). -
nbufferDescriptorSize
public static long nbufferDescriptorSize(long struct) Unsafe version ofbufferDescriptorSize(). -
nsamplerDescriptorAlignment
public static long nsamplerDescriptorAlignment(long struct) Unsafe version ofsamplerDescriptorAlignment(). -
nimageDescriptorAlignment
public static long nimageDescriptorAlignment(long struct) Unsafe version ofimageDescriptorAlignment(). -
nbufferDescriptorAlignment
public static long nbufferDescriptorAlignment(long struct) Unsafe version ofbufferDescriptorAlignment(). -
nmaxPushDataSize
public static long nmaxPushDataSize(long struct) Unsafe version ofmaxPushDataSize(). -
nimageCaptureReplayOpaqueDataSize
public static long nimageCaptureReplayOpaqueDataSize(long struct) Unsafe version ofimageCaptureReplayOpaqueDataSize(). -
nmaxDescriptorHeapEmbeddedSamplers
public static int nmaxDescriptorHeapEmbeddedSamplers(long struct) Unsafe version ofmaxDescriptorHeapEmbeddedSamplers(). -
nsamplerYcbcrConversionCount
public static int nsamplerYcbcrConversionCount(long struct) Unsafe version ofsamplerYcbcrConversionCount(). -
nsparseDescriptorHeaps
public static int nsparseDescriptorHeaps(long struct) Unsafe version ofsparseDescriptorHeaps(). -
nprotectedDescriptorHeaps
public static int nprotectedDescriptorHeaps(long struct) Unsafe version ofprotectedDescriptorHeaps(). -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext.
-