Package org.lwjgl.vulkan
Class VkPhysicalDeviceSparseProperties
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPhysicalDeviceSparseProperties>
org.lwjgl.vulkan.VkPhysicalDeviceSparseProperties
- All Implemented Interfaces:
Pointer
struct VkPhysicalDeviceSparseProperties {
VkBool32 residencyStandard2DBlockShape;
VkBool32 residencyStandard2DMultisampleBlockShape;
VkBool32 residencyStandard3DBlockShape;
VkBool32 residencyAlignedMipSize;
VkBool32 residencyNonResidentStrict;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofVkPhysicalDeviceSparseProperties
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 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
ConstructorsConstructorDescriptionVkPhysicalDeviceSparseProperties
(ByteBuffer container) Creates aVkPhysicalDeviceSparseProperties
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncreate
(long address) Returns a newVkPhysicalDeviceSparseProperties
instance for the specified memory address.create
(long address, int capacity) Create aVkPhysicalDeviceSparseProperties.Buffer
instance at the specified memory.static @Nullable VkPhysicalDeviceSparseProperties
createSafe
(long address) static @Nullable VkPhysicalDeviceSparseProperties.Buffer
createSafe
(long address, int capacity) static int
nresidencyAlignedMipSize
(long struct) Unsafe version ofresidencyAlignedMipSize()
.static int
nresidencyNonResidentStrict
(long struct) Unsafe version ofresidencyNonResidentStrict()
.static int
nresidencyStandard2DBlockShape
(long struct) Unsafe version ofresidencyStandard2DBlockShape()
.static int
nresidencyStandard2DMultisampleBlockShape
(long struct) Unsafe version ofresidencyStandard2DMultisampleBlockShape()
.static int
nresidencyStandard3DBlockShape
(long struct) Unsafe version ofresidencyStandard3DBlockShape()
.boolean
boolean
boolean
boolean
boolean
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. -
RESIDENCYSTANDARD2DBLOCKSHAPE
public static final int RESIDENCYSTANDARD2DBLOCKSHAPEThe struct member offsets. -
RESIDENCYSTANDARD2DMULTISAMPLEBLOCKSHAPE
public static final int RESIDENCYSTANDARD2DMULTISAMPLEBLOCKSHAPEThe struct member offsets. -
RESIDENCYSTANDARD3DBLOCKSHAPE
public static final int RESIDENCYSTANDARD3DBLOCKSHAPEThe struct member offsets. -
RESIDENCYALIGNEDMIPSIZE
public static final int RESIDENCYALIGNEDMIPSIZEThe struct member offsets. -
RESIDENCYNONRESIDENTSTRICT
public static final int RESIDENCYNONRESIDENTSTRICTThe struct member offsets.
-
-
Constructor Details
-
VkPhysicalDeviceSparseProperties
Creates aVkPhysicalDeviceSparseProperties
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<VkPhysicalDeviceSparseProperties>
-
residencyStandard2DBlockShape
public boolean residencyStandard2DBlockShape()- Returns:
- the value of the
residencyStandard2DBlockShape
field.
-
residencyStandard2DMultisampleBlockShape
public boolean residencyStandard2DMultisampleBlockShape()- Returns:
- the value of the
residencyStandard2DMultisampleBlockShape
field.
-
residencyStandard3DBlockShape
public boolean residencyStandard3DBlockShape()- Returns:
- the value of the
residencyStandard3DBlockShape
field.
-
residencyAlignedMipSize
public boolean residencyAlignedMipSize()- Returns:
- the value of the
residencyAlignedMipSize
field.
-
residencyNonResidentStrict
public boolean residencyNonResidentStrict()- Returns:
- the value of the
residencyNonResidentStrict
field.
-
create
Returns a newVkPhysicalDeviceSparseProperties
instance for the specified memory address. -
createSafe
-
create
Create aVkPhysicalDeviceSparseProperties.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable VkPhysicalDeviceSparseProperties.Buffer createSafe(long address, int capacity) -
nresidencyStandard2DBlockShape
public static int nresidencyStandard2DBlockShape(long struct) Unsafe version ofresidencyStandard2DBlockShape()
. -
nresidencyStandard2DMultisampleBlockShape
public static int nresidencyStandard2DMultisampleBlockShape(long struct) Unsafe version ofresidencyStandard2DMultisampleBlockShape()
. -
nresidencyStandard3DBlockShape
public static int nresidencyStandard3DBlockShape(long struct) Unsafe version ofresidencyStandard3DBlockShape()
. -
nresidencyAlignedMipSize
public static int nresidencyAlignedMipSize(long struct) Unsafe version ofresidencyAlignedMipSize()
. -
nresidencyNonResidentStrict
public static int nresidencyNonResidentStrict(long struct) Unsafe version ofresidencyNonResidentStrict()
.
-