Package org.lwjgl.vulkan
Class VkDrmFormatModifierPropertiesEXT
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkDrmFormatModifierPropertiesEXT>
org.lwjgl.vulkan.VkDrmFormatModifierPropertiesEXT
- All Implemented Interfaces:
Pointer
struct VkDrmFormatModifierPropertiesEXT {
uint64_t drmFormatModifier;
uint32_t drmFormatModifierPlaneCount;
VkFormatFeatureFlags drmFormatModifierTilingFeatures;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofVkDrmFormatModifierPropertiesEXT
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
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionVkDrmFormatModifierPropertiesEXT
(ByteBuffer container) Creates aVkDrmFormatModifierPropertiesEXT
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncreate
(long address) Returns a newVkDrmFormatModifierPropertiesEXT
instance for the specified memory address.create
(long address, int capacity) Create aVkDrmFormatModifierPropertiesEXT.Buffer
instance at the specified memory.static @Nullable VkDrmFormatModifierPropertiesEXT
createSafe
(long address) static @Nullable VkDrmFormatModifierPropertiesEXT.Buffer
createSafe
(long address, int capacity) long
int
int
static long
ndrmFormatModifier
(long struct) Unsafe version ofdrmFormatModifier()
.static int
ndrmFormatModifierPlaneCount
(long struct) Unsafe version ofdrmFormatModifierPlaneCount()
.static int
ndrmFormatModifierTilingFeatures
(long struct) Unsafe version ofdrmFormatModifierTilingFeatures()
.int
sizeof()
Returnssizeof(struct)
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
DRMFORMATMODIFIER
public static final int DRMFORMATMODIFIERThe struct member offsets. -
DRMFORMATMODIFIERPLANECOUNT
public static final int DRMFORMATMODIFIERPLANECOUNTThe struct member offsets. -
DRMFORMATMODIFIERTILINGFEATURES
public static final int DRMFORMATMODIFIERTILINGFEATURESThe struct member offsets.
-
-
Constructor Details
-
VkDrmFormatModifierPropertiesEXT
Creates aVkDrmFormatModifierPropertiesEXT
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
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<VkDrmFormatModifierPropertiesEXT>
-
drmFormatModifier
public long drmFormatModifier()- Returns:
- the value of the
drmFormatModifier
field.
-
drmFormatModifierPlaneCount
public int drmFormatModifierPlaneCount()- Returns:
- the value of the
drmFormatModifierPlaneCount
field.
-
drmFormatModifierTilingFeatures
public int drmFormatModifierTilingFeatures()- Returns:
- the value of the
drmFormatModifierTilingFeatures
field.
-
create
Returns a newVkDrmFormatModifierPropertiesEXT
instance for the specified memory address. -
createSafe
-
create
Create aVkDrmFormatModifierPropertiesEXT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable VkDrmFormatModifierPropertiesEXT.Buffer createSafe(long address, int capacity) -
ndrmFormatModifier
public static long ndrmFormatModifier(long struct) Unsafe version ofdrmFormatModifier()
. -
ndrmFormatModifierPlaneCount
public static int ndrmFormatModifierPlaneCount(long struct) Unsafe version ofdrmFormatModifierPlaneCount()
. -
ndrmFormatModifierTilingFeatures
public static int ndrmFormatModifierTilingFeatures(long struct) Unsafe version ofdrmFormatModifierTilingFeatures()
.
-