Record Class VkPhysicalDeviceInlineUniformBlockProperties
- All Implemented Interfaces:
IPointer
,IVkPhysicalDeviceInlineUniformBlockProperties
Represents a pointer to a VkPhysicalDeviceInlineUniformBlockProperties
structure in native memory.
Structure
typedef struct VkPhysicalDeviceInlineUniformBlockProperties {
VkStructureType
sType
;
void* pNext
; // optional
uint32_t maxInlineUniformBlockSize
;
uint32_t maxPerStageDescriptorInlineUniformBlocks
;
uint32_t maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks
;
uint32_t maxDescriptorSetInlineUniformBlocks
;
uint32_t maxDescriptorSetUpdateAfterBindInlineUniformBlocks
;
} VkPhysicalDeviceInlineUniformBlockProperties;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES
The allocate
(allocate(Arena)
, allocate(Arena, long)
)
functions will automatically initialize these fields. Also, you may call autoInit()
to initialize these fields manually for non-allocated instances.
Contracts
The property segment()
should always be not-null
(segment != NULL && !segment.equals(MemorySegment.NULL)
), and properly aligned to
LAYOUT.byteAlignment()
bytes. To represent null pointer, you may use a Java
null
instead. See the documentation of IPointer.segment()
for more details.
The constructor of this class is marked as UnsafeConstructor
, because it does not
perform any runtime check. The constructor can be useful for automatic code generators.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
Represents a pointer to / an array ofVkPhysicalDeviceInlineUniformBlockProperties
structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final AddressLayout
static final ValueLayout.OfInt
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionVkPhysicalDeviceInlineUniformBlockProperties
(@NotNull MemorySegment segment) Creates an instance of aVkPhysicalDeviceInlineUniformBlockProperties
record class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
autoInit()
clone
(Arena arena, VkPhysicalDeviceInlineUniformBlockProperties src) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.int
maxDescriptorSetInlineUniformBlocks
(int value) int
int
maxInlineUniformBlockSize
(int value) int
maxPerStageDescriptorInlineUniformBlocks
(int value) int
pNext()
void
pNext
(MemorySegment value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.int
sType()
sType
(int value) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$sType
-
PATH$pNext
-
PATH$maxInlineUniformBlockSize
-
PATH$maxPerStageDescriptorInlineUniformBlocks
-
PATH$maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks
public static final MemoryLayout.PathElement PATH$maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks -
PATH$maxDescriptorSetInlineUniformBlocks
-
PATH$maxDescriptorSetUpdateAfterBindInlineUniformBlocks
public static final MemoryLayout.PathElement PATH$maxDescriptorSetUpdateAfterBindInlineUniformBlocks -
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$maxInlineUniformBlockSize
-
LAYOUT$maxPerStageDescriptorInlineUniformBlocks
-
LAYOUT$maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks
public static final ValueLayout.OfInt LAYOUT$maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks -
LAYOUT$maxDescriptorSetInlineUniformBlocks
-
LAYOUT$maxDescriptorSetUpdateAfterBindInlineUniformBlocks
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$maxInlineUniformBlockSize
public static final long SIZE$maxInlineUniformBlockSize -
SIZE$maxPerStageDescriptorInlineUniformBlocks
public static final long SIZE$maxPerStageDescriptorInlineUniformBlocks -
SIZE$maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks
public static final long SIZE$maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks -
SIZE$maxDescriptorSetInlineUniformBlocks
public static final long SIZE$maxDescriptorSetInlineUniformBlocks -
SIZE$maxDescriptorSetUpdateAfterBindInlineUniformBlocks
public static final long SIZE$maxDescriptorSetUpdateAfterBindInlineUniformBlocks -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$maxInlineUniformBlockSize
public static final long OFFSET$maxInlineUniformBlockSize -
OFFSET$maxPerStageDescriptorInlineUniformBlocks
public static final long OFFSET$maxPerStageDescriptorInlineUniformBlocks -
OFFSET$maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks
public static final long OFFSET$maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks -
OFFSET$maxDescriptorSetInlineUniformBlocks
public static final long OFFSET$maxDescriptorSetInlineUniformBlocks -
OFFSET$maxDescriptorSetUpdateAfterBindInlineUniformBlocks
public static final long OFFSET$maxDescriptorSetUpdateAfterBindInlineUniformBlocks
-
-
Constructor Details
-
VkPhysicalDeviceInlineUniformBlockProperties
Creates an instance of aVkPhysicalDeviceInlineUniformBlockProperties
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkPhysicalDeviceInlineUniformBlockProperties clone(Arena arena, VkPhysicalDeviceInlineUniformBlockProperties src) -
autoInit
public void autoInit() -
sType
-
sType
public VkPhysicalDeviceInlineUniformBlockProperties sType(@EnumType(VkStructureType.class) int value) -
pNext
-
pNext
-
pNext
-
maxInlineUniformBlockSize
-
maxInlineUniformBlockSize
-
maxPerStageDescriptorInlineUniformBlocks
-
maxPerStageDescriptorInlineUniformBlocks
public VkPhysicalDeviceInlineUniformBlockProperties maxPerStageDescriptorInlineUniformBlocks(@Unsigned int value) -
maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks
-
maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks
public VkPhysicalDeviceInlineUniformBlockProperties maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks(@Unsigned int value) -
maxDescriptorSetInlineUniformBlocks
-
maxDescriptorSetInlineUniformBlocks
public VkPhysicalDeviceInlineUniformBlockProperties maxDescriptorSetInlineUniformBlocks(@Unsigned int value) -
maxDescriptorSetUpdateAfterBindInlineUniformBlocks
-
maxDescriptorSetUpdateAfterBindInlineUniformBlocks
public VkPhysicalDeviceInlineUniformBlockProperties maxDescriptorSetUpdateAfterBindInlineUniformBlocks(@Unsigned int value) -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
segment
Returns the value of thesegment
record component.
-