primaryMajor
public long primaryMajor()
the DRM primary node major number, if any.
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.PointerIf the VkPhysicalDeviceDrmPropertiesEXT structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.
These are properties of the DRM information of a physical device.
sType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_DRM_PROPERTIES_EXT
struct VkPhysicalDeviceDrmPropertiesEXT {
VkStructureType sType();
void * pNext();
VkBool32 hasPrimary();
VkBool32 hasRender();
int64_t primaryMajor();
int64_t primaryMinor();
int64_t renderMajor();
int64_t renderMinor();
}static class VkPhysicalDeviceDrmPropertiesEXT structs.org.lwjgl.system.Struct.StructValidationorg.lwjgl.system.Pointer.Defaultstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intBITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZEVkPhysicalDeviceDrmPropertiesEXT(ByteBuffer container) VkPhysicalDeviceDrmPropertiesEXT instance at the current position of the specified ByteBuffer container.calloc()VkPhysicalDeviceDrmPropertiesEXT instance allocated with memCalloc.calloc(int capacity) VkPhysicalDeviceDrmPropertiesEXT.Buffer instance allocated with memCalloc.calloc(int capacity,
org.lwjgl.system.MemoryStack stack) VkPhysicalDeviceDrmPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.calloc(org.lwjgl.system.MemoryStack stack) VkPhysicalDeviceDrmPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.create()VkPhysicalDeviceDrmPropertiesEXT instance allocated with BufferUtils.create(int capacity) VkPhysicalDeviceDrmPropertiesEXT.Buffer instance allocated with BufferUtils.create(long address) VkPhysicalDeviceDrmPropertiesEXT instance for the specified memory address.create(long address,
int capacity) VkPhysicalDeviceDrmPropertiesEXT.Buffer instance at the specified memory.static @Nullable VkPhysicalDeviceDrmPropertiesEXTcreateSafe(long address) static @Nullable VkPhysicalDeviceDrmPropertiesEXT.BuffercreateSafe(long address,
int capacity) booleanbooleanmalloc()VkPhysicalDeviceDrmPropertiesEXT instance allocated with memAlloc.malloc(int capacity) VkPhysicalDeviceDrmPropertiesEXT.Buffer instance allocated with memAlloc.malloc(int capacity,
org.lwjgl.system.MemoryStack stack) VkPhysicalDeviceDrmPropertiesEXT.Buffer instance allocated on the specified MemoryStack.malloc(org.lwjgl.system.MemoryStack stack) VkPhysicalDeviceDrmPropertiesEXT instance allocated on the specified MemoryStack.static intnhasPrimary(long struct) hasPrimary().static intnhasRender(long struct) hasRender().static longnpNext(long struct) pNext().static voidnpNext(long struct,
long value) pNext.static longnprimaryMajor(long struct) primaryMajor().static longnprimaryMinor(long struct) primaryMinor().static longnrenderMajor(long struct) renderMajor().static longnrenderMinor(long struct) renderMinor().static intnsType(long struct) sType().static voidnsType(long struct,
int value) sType.longpNext()NULL or a pointer to a structure extending this structure.pNext(long value) pNext() field.longlonglonglongset(int sType,
long pNext) intsizeof()intsType()VkStructureType value identifying this structure.sType(int value) sType() field.STRUCTURE_TYPE_PHYSICAL_DEVICE_DRM_PROPERTIES_EXT value to the sType() field.clear, free, isNull, validate, validateaddress, equals, hashCode, toStringclose, freeVkPhysicalDeviceDrmPropertiesEXT instance at the current position of the specified ByteBuffer 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.
sizeof in class org.lwjgl.system.Struct<VkPhysicalDeviceDrmPropertiesEXT>VkStructureType value identifying this structure.NULL or a pointer to a structure extending this structure.sType() field.STRUCTURE_TYPE_PHYSICAL_DEVICE_DRM_PROPERTIES_EXT value to the sType() field.pNext() field.src - the source structVkPhysicalDeviceDrmPropertiesEXT instance allocated with memAlloc. The instance must be explicitly freed.VkPhysicalDeviceDrmPropertiesEXT instance allocated with memCalloc. The instance must be explicitly freed.VkPhysicalDeviceDrmPropertiesEXT instance allocated with BufferUtils.VkPhysicalDeviceDrmPropertiesEXT instance for the specified memory address.VkPhysicalDeviceDrmPropertiesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacityVkPhysicalDeviceDrmPropertiesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacityVkPhysicalDeviceDrmPropertiesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacityVkPhysicalDeviceDrmPropertiesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacityVkPhysicalDeviceDrmPropertiesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocateVkPhysicalDeviceDrmPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocateVkPhysicalDeviceDrmPropertiesEXT.Buffer instance allocated on the specified MemoryStack.capacity - the buffer capacitystack - the stack from which to allocateVkPhysicalDeviceDrmPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.capacity - the buffer capacitystack - the stack from which to allocatesType().pNext().hasPrimary().hasRender().primaryMajor().primaryMinor().renderMajor().renderMinor().sType.pNext.