Package org.lwjgl.vulkan
Class VkDrmFormatModifierProperties2EXT
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkDrmFormatModifierProperties2EXT>
org.lwjgl.vulkan.VkDrmFormatModifierProperties2EXT
- All Implemented Interfaces:
Pointer
struct VkDrmFormatModifierProperties2EXT {
uint64_t drmFormatModifier;
uint32_t drmFormatModifierPlaneCount;
VkFormatFeatureFlags2 drmFormatModifierTilingFeatures;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofVkDrmFormatModifierProperties2EXT
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
ConstructorsConstructorDescriptionVkDrmFormatModifierProperties2EXT
(ByteBuffer container) Creates aVkDrmFormatModifierProperties2EXT
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncreate
(long address) Returns a newVkDrmFormatModifierProperties2EXT
instance for the specified memory address.create
(long address, int capacity) Create aVkDrmFormatModifierProperties2EXT.Buffer
instance at the specified memory.static @Nullable VkDrmFormatModifierProperties2EXT
createSafe
(long address) static @Nullable VkDrmFormatModifierProperties2EXT.Buffer
createSafe
(long address, int capacity) long
int
long
static long
ndrmFormatModifier
(long struct) Unsafe version ofdrmFormatModifier()
.static int
ndrmFormatModifierPlaneCount
(long struct) Unsafe version ofdrmFormatModifierPlaneCount()
.static long
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
-
VkDrmFormatModifierProperties2EXT
Creates aVkDrmFormatModifierProperties2EXT
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<VkDrmFormatModifierProperties2EXT>
-
drmFormatModifier
public long drmFormatModifier()- Returns:
- the value of the
drmFormatModifier
field.
-
drmFormatModifierPlaneCount
public int drmFormatModifierPlaneCount()- Returns:
- the value of the
drmFormatModifierPlaneCount
field.
-
drmFormatModifierTilingFeatures
public long drmFormatModifierTilingFeatures()- Returns:
- the value of the
drmFormatModifierTilingFeatures
field.
-
create
Returns a newVkDrmFormatModifierProperties2EXT
instance for the specified memory address. -
createSafe
-
create
Create aVkDrmFormatModifierProperties2EXT.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable VkDrmFormatModifierProperties2EXT.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 long ndrmFormatModifierTilingFeatures(long struct) Unsafe version ofdrmFormatModifierTilingFeatures()
.
-