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 recordRepresents a pointer to / an array ofVkPhysicalDeviceOpticalFlowPropertiesNVstructure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final AddressLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkPhysicalDeviceOpticalFlowPropertiesNV(@NotNull MemorySegment segment) Creates an instance of aVkPhysicalDeviceOpticalFlowPropertiesNVrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidautoInit()intbidirectionalFlowSupported(int value) clone(Arena arena, VkPhysicalDeviceOpticalFlowPropertiesNV src) intcostSupported(int value) final booleanIndicates whether some other object is "equal to" this one.intglobalFlowSupported(int value) final inthashCode()Returns a hash code value for this object.inthintSupported(int value) intmaxHeight(int value) intmaxNumRegionsOfInterest(int value) intmaxWidth()maxWidth(int value) intminHeight(int value) intminWidth()minWidth(int value) @NotNull MemorySegmentpNext()pNext(@NotNull MemorySegment value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.intsType()sType(int value) intsupportedHintGridSizes(int value) intsupportedOutputGridSizes(int value) final StringtoString()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 aVkPhysicalDeviceOpticalFlowPropertiesNVrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkPhysicalDeviceOpticalFlowPropertiesNV clone(Arena arena, VkPhysicalDeviceOpticalFlowPropertiesNV src) -
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
public VkPhysicalDeviceOpticalFlowPropertiesNV pNext(@Pointer(comment="void*") @NotNull @NotNull MemorySegment value) -
pNext
-
supportedOutputGridSizes
-
supportedOutputGridSizes
public VkPhysicalDeviceOpticalFlowPropertiesNV supportedOutputGridSizes(@Bitmask(VkOpticalFlowGridSizeFlagsNV.class) int value) -
supportedHintGridSizes
-
supportedHintGridSizes
public VkPhysicalDeviceOpticalFlowPropertiesNV supportedHintGridSizes(@Bitmask(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 thesegmentrecord component.
-