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 classAn array ofVkDrmFormatModifierPropertiesEXTstructs.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
ConstructorsConstructorDescriptionVkDrmFormatModifierPropertiesEXT(ByteBuffer container) Creates aVkDrmFormatModifierPropertiesEXTinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncreate(long address) Returns a newVkDrmFormatModifierPropertiesEXTinstance for the specified memory address.create(long address, int capacity) Create aVkDrmFormatModifierPropertiesEXT.Bufferinstance at the specified memory.static @Nullable VkDrmFormatModifierPropertiesEXTcreateSafe(long address) static @Nullable VkDrmFormatModifierPropertiesEXT.BuffercreateSafe(long address, int capacity) longintintstatic longndrmFormatModifier(long struct) Unsafe version ofdrmFormatModifier().static intndrmFormatModifierPlaneCount(long struct) Unsafe version ofdrmFormatModifierPlaneCount().static intndrmFormatModifierTilingFeatures(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
-
VkDrmFormatModifierPropertiesEXT
Creates aVkDrmFormatModifierPropertiesEXTinstance 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<VkDrmFormatModifierPropertiesEXT>
-
drmFormatModifier
public long drmFormatModifier()- Returns:
- the value of the
drmFormatModifierfield.
-
drmFormatModifierPlaneCount
public int drmFormatModifierPlaneCount()- Returns:
- the value of the
drmFormatModifierPlaneCountfield.
-
drmFormatModifierTilingFeatures
public int drmFormatModifierTilingFeatures()- Returns:
- the value of the
drmFormatModifierTilingFeaturesfield.
-
create
Returns a newVkDrmFormatModifierPropertiesEXTinstance for the specified memory address. -
createSafe
-
create
Create aVkDrmFormatModifierPropertiesEXT.Bufferinstance 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().
-