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 classAn array ofVkDrmFormatModifierProperties2EXTstructs.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
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 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 aVkDrmFormatModifierProperties2EXTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncreate(long address) Returns a newVkDrmFormatModifierProperties2EXTinstance for the specified memory address.create(long address, int capacity) Create aVkDrmFormatModifierProperties2EXT.Bufferinstance at the specified memory.static @Nullable VkDrmFormatModifierProperties2EXTcreateSafe(long address) static @Nullable VkDrmFormatModifierProperties2EXT.BuffercreateSafe(long address, int capacity) longintlongstatic longndrmFormatModifier(long struct) Unsafe version ofdrmFormatModifier().static intndrmFormatModifierPlaneCount(long struct) Unsafe version ofdrmFormatModifierPlaneCount().static longndrmFormatModifierTilingFeatures(long struct) Unsafe version ofdrmFormatModifierTilingFeatures().intsizeof()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 aVkDrmFormatModifierProperties2EXTinstance 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<VkDrmFormatModifierProperties2EXT>
-
drmFormatModifier
public long drmFormatModifier()- Returns:
- the value of the
drmFormatModifierfield.
-
drmFormatModifierPlaneCount
public int drmFormatModifierPlaneCount()- Returns:
- the value of the
drmFormatModifierPlaneCountfield.
-
drmFormatModifierTilingFeatures
public long drmFormatModifierTilingFeatures()- Returns:
- the value of the
drmFormatModifierTilingFeaturesfield.
-
create
Returns a newVkDrmFormatModifierProperties2EXTinstance for the specified memory address. -
createSafe
-
create
Create aVkDrmFormatModifierProperties2EXT.Bufferinstance 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().
-