Record Class VkPhysicalDeviceOpticalFlowPropertiesNV
- All Implemented Interfaces:
IPointer
,IVkPhysicalDeviceOpticalFlowPropertiesNV
Represents a pointer to a VkPhysicalDeviceOpticalFlowPropertiesNV
structure in native memory.
Structure
typedef struct VkPhysicalDeviceOpticalFlowPropertiesNV {
VkStructureType
sType
;
void* pNext
; // optional
VkOpticalFlowGridSizeFlagsNV
supportedOutputGridSizes
;
VkOpticalFlowGridSizeFlagsNV
supportedHintGridSizes
;
VkBool32 hintSupported
;
VkBool32 costSupported
;
VkBool32 bidirectionalFlowSupported
;
VkBool32 globalFlowSupported
;
uint32_t minWidth
;
uint32_t minHeight
;
uint32_t maxWidth
;
uint32_t maxHeight
;
uint32_t maxNumRegionsOfInterest
;
} VkPhysicalDeviceOpticalFlowPropertiesNV;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPTICAL_FLOW_PROPERTIES_NV
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 ofVkPhysicalDeviceOpticalFlowPropertiesNV
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 ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final AddressLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
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 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 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
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionVkPhysicalDeviceOpticalFlowPropertiesNV
(@NotNull MemorySegment segment) Creates an instance of aVkPhysicalDeviceOpticalFlowPropertiesNV
record class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
autoInit()
int
bidirectionalFlowSupported
(int value) clone
(Arena arena, VkPhysicalDeviceOpticalFlowPropertiesNV src) int
costSupported
(int value) final boolean
Indicates whether some other object is "equal to" this one.int
globalFlowSupported
(int value) final int
hashCode()
Returns a hash code value for this object.int
hintSupported
(int value) int
maxHeight
(int value) int
maxNumRegionsOfInterest
(int value) int
maxWidth()
maxWidth
(int value) int
minHeight
(int value) int
minWidth()
minWidth
(int value) pNext()
void
pNext
(MemorySegment value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.int
sType()
sType
(int value) int
supportedHintGridSizes
(int value) int
supportedOutputGridSizes
(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$supportedOutputGridSizes
-
PATH$supportedHintGridSizes
-
PATH$hintSupported
-
PATH$costSupported
-
PATH$bidirectionalFlowSupported
-
PATH$globalFlowSupported
-
PATH$minWidth
-
PATH$minHeight
-
PATH$maxWidth
-
PATH$maxHeight
-
PATH$maxNumRegionsOfInterest
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$supportedOutputGridSizes
-
LAYOUT$supportedHintGridSizes
-
LAYOUT$hintSupported
-
LAYOUT$costSupported
-
LAYOUT$bidirectionalFlowSupported
-
LAYOUT$globalFlowSupported
-
LAYOUT$minWidth
-
LAYOUT$minHeight
-
LAYOUT$maxWidth
-
LAYOUT$maxHeight
-
LAYOUT$maxNumRegionsOfInterest
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$supportedOutputGridSizes
public static final long SIZE$supportedOutputGridSizes -
SIZE$supportedHintGridSizes
public static final long SIZE$supportedHintGridSizes -
SIZE$hintSupported
public static final long SIZE$hintSupported -
SIZE$costSupported
public static final long SIZE$costSupported -
SIZE$bidirectionalFlowSupported
public static final long SIZE$bidirectionalFlowSupported -
SIZE$globalFlowSupported
public static final long SIZE$globalFlowSupported -
SIZE$minWidth
public static final long SIZE$minWidth -
SIZE$minHeight
public static final long SIZE$minHeight -
SIZE$maxWidth
public static final long SIZE$maxWidth -
SIZE$maxHeight
public static final long SIZE$maxHeight -
SIZE$maxNumRegionsOfInterest
public static final long SIZE$maxNumRegionsOfInterest -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$supportedOutputGridSizes
public static final long OFFSET$supportedOutputGridSizes -
OFFSET$supportedHintGridSizes
public static final long OFFSET$supportedHintGridSizes -
OFFSET$hintSupported
public static final long OFFSET$hintSupported -
OFFSET$costSupported
public static final long OFFSET$costSupported -
OFFSET$bidirectionalFlowSupported
public static final long OFFSET$bidirectionalFlowSupported -
OFFSET$globalFlowSupported
public static final long OFFSET$globalFlowSupported -
OFFSET$minWidth
public static final long OFFSET$minWidth -
OFFSET$minHeight
public static final long OFFSET$minHeight -
OFFSET$maxWidth
public static final long OFFSET$maxWidth -
OFFSET$maxHeight
public static final long OFFSET$maxHeight -
OFFSET$maxNumRegionsOfInterest
public static final long OFFSET$maxNumRegionsOfInterest
-
-
Constructor Details
-
VkPhysicalDeviceOpticalFlowPropertiesNV
Creates an instance of aVkPhysicalDeviceOpticalFlowPropertiesNV
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkPhysicalDeviceOpticalFlowPropertiesNV clone(Arena arena, VkPhysicalDeviceOpticalFlowPropertiesNV src) -
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
-
pNext
-
supportedOutputGridSizes
-
supportedOutputGridSizes
public VkPhysicalDeviceOpticalFlowPropertiesNV supportedOutputGridSizes(@EnumType(VkOpticalFlowGridSizeFlagsNV.class) int value) -
supportedHintGridSizes
-
supportedHintGridSizes
public VkPhysicalDeviceOpticalFlowPropertiesNV supportedHintGridSizes(@EnumType(VkOpticalFlowGridSizeFlagsNV.class) int value) -
hintSupported
-
hintSupported
public VkPhysicalDeviceOpticalFlowPropertiesNV hintSupported(@NativeType("VkBool32") @Unsigned int value) -
costSupported
-
costSupported
public VkPhysicalDeviceOpticalFlowPropertiesNV costSupported(@NativeType("VkBool32") @Unsigned int value) -
bidirectionalFlowSupported
-
bidirectionalFlowSupported
public VkPhysicalDeviceOpticalFlowPropertiesNV bidirectionalFlowSupported(@NativeType("VkBool32") @Unsigned int value) -
globalFlowSupported
-
globalFlowSupported
public VkPhysicalDeviceOpticalFlowPropertiesNV globalFlowSupported(@NativeType("VkBool32") @Unsigned int value) -
minWidth
-
minWidth
-
minHeight
-
minHeight
-
maxWidth
-
maxWidth
-
maxHeight
-
maxHeight
-
maxNumRegionsOfInterest
-
maxNumRegionsOfInterest
-
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.
-