Class VkQueueFamilyDataGraphOpticalFlowPropertiesARM
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkQueueFamilyDataGraphOpticalFlowPropertiesARM>
org.lwjgl.vulkan.VkQueueFamilyDataGraphOpticalFlowPropertiesARM
- All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer
public class VkQueueFamilyDataGraphOpticalFlowPropertiesARM
extends Struct<VkQueueFamilyDataGraphOpticalFlowPropertiesARM>
implements NativeResource
struct VkQueueFamilyDataGraphOpticalFlowPropertiesARM {
VkStructureType sType;
void * pNext;
VkDataGraphOpticalFlowGridSizeFlagsARM supportedOutputGridSizes;
VkDataGraphOpticalFlowGridSizeFlagsARM supportedHintGridSizes;
VkBool32 hintSupported;
VkBool32 costSupported;
uint32_t minWidth;
uint32_t minHeight;
uint32_t maxWidth;
uint32_t maxHeight;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkQueueFamilyDataGraphOpticalFlowPropertiesARMstructs.Nested classes/interfaces inherited from class Struct
Struct.StructValidationNested classes/interfaces inherited from interface 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 member offsets.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.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkQueueFamilyDataGraphOpticalFlowPropertiesARMinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARMinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARM.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARM.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARMinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.booleancreate()Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARMinstance allocated withBufferUtils.create(int capacity) Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARM.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARMinstance for the specified memory address.create(long address, int capacity) Create aVkQueueFamilyDataGraphOpticalFlowPropertiesARM.Bufferinstance at the specified memory.static @Nullable VkQueueFamilyDataGraphOpticalFlowPropertiesARMcreateSafe(long address) static @Nullable VkQueueFamilyDataGraphOpticalFlowPropertiesARM.BuffercreateSafe(long address, int capacity) booleanmalloc()Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARMinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARM.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARM.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARMinstance allocated on the specifiedMemoryStack.intintmaxWidth()intintminWidth()static intncostSupported(long struct) Unsafe version ofcostSupported().static intnhintSupported(long struct) Unsafe version ofhintSupported().static intnmaxHeight(long struct) Unsafe version ofmaxHeight().static intnmaxWidth(long struct) Unsafe version ofmaxWidth().static intnminHeight(long struct) Unsafe version ofminHeight().static intnminWidth(long struct) Unsafe version ofminWidth().static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.static intnsupportedHintGridSizes(long struct) Unsafe version ofsupportedHintGridSizes().static intnsupportedOutputGridSizes(long struct) Unsafe version ofsupportedOutputGridSizes().longpNext()pNext(long value) Sets the specified value to thepNextfield.set(int sType, long pNext) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_QUEUE_FAMILY_DATA_GRAPH_OPTICAL_FLOW_PROPERTIES_ARMvalue to thesTypefield.intintMethods inherited from class Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
STYPE
public static final int STYPEThe struct member offsets. -
PNEXT
public static final int PNEXTThe struct member offsets. -
SUPPORTEDOUTPUTGRIDSIZES
public static final int SUPPORTEDOUTPUTGRIDSIZESThe struct member offsets. -
SUPPORTEDHINTGRIDSIZES
public static final int SUPPORTEDHINTGRIDSIZESThe struct member offsets. -
HINTSUPPORTED
public static final int HINTSUPPORTEDThe struct member offsets. -
COSTSUPPORTED
public static final int COSTSUPPORTEDThe struct member offsets. -
MINWIDTH
public static final int MINWIDTHThe struct member offsets. -
MINHEIGHT
public static final int MINHEIGHTThe struct member offsets. -
MAXWIDTH
public static final int MAXWIDTHThe struct member offsets. -
MAXHEIGHT
public static final int MAXHEIGHTThe struct member offsets.
-
-
Constructor Details
-
VkQueueFamilyDataGraphOpticalFlowPropertiesARM
Creates aVkQueueFamilyDataGraphOpticalFlowPropertiesARMinstance 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<VkQueueFamilyDataGraphOpticalFlowPropertiesARM>
-
sType
- Returns:
- the value of the
sTypefield.
-
pNext
- Returns:
- the value of the
pNextfield.
-
supportedOutputGridSizes
- Returns:
- the value of the
supportedOutputGridSizesfield.
-
supportedHintGridSizes
- Returns:
- the value of the
supportedHintGridSizesfield.
-
hintSupported
- Returns:
- the value of the
hintSupportedfield.
-
costSupported
- Returns:
- the value of the
costSupportedfield.
-
minWidth
- Returns:
- the value of the
minWidthfield.
-
minHeight
- Returns:
- the value of the
minHeightfield.
-
maxWidth
- Returns:
- the value of the
maxWidthfield.
-
maxHeight
- Returns:
- the value of the
maxHeightfield.
-
sType
public VkQueueFamilyDataGraphOpticalFlowPropertiesARM sType(@NativeType("VkStructureType") int value) Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_QUEUE_FAMILY_DATA_GRAPH_OPTICAL_FLOW_PROPERTIES_ARMvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
set
Initializes this struct with the specified values. -
set
public VkQueueFamilyDataGraphOpticalFlowPropertiesARM set(VkQueueFamilyDataGraphOpticalFlowPropertiesARM src) Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARMinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARMinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARMinstance allocated withBufferUtils. -
create
Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARMinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARM.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARM.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARM.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkQueueFamilyDataGraphOpticalFlowPropertiesARM.Buffer create(long address, int capacity) Create aVkQueueFamilyDataGraphOpticalFlowPropertiesARM.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkQueueFamilyDataGraphOpticalFlowPropertiesARM.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARMinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARMinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkQueueFamilyDataGraphOpticalFlowPropertiesARM.Buffer malloc(int capacity, MemoryStack stack) Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARM.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkQueueFamilyDataGraphOpticalFlowPropertiesARM.Buffer calloc(int capacity, MemoryStack stack) Returns a newVkQueueFamilyDataGraphOpticalFlowPropertiesARM.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nsType
public static int nsType(long struct) Unsafe version ofsType(). -
npNext
public static long npNext(long struct) Unsafe version ofpNext(). -
nsupportedOutputGridSizes
public static int nsupportedOutputGridSizes(long struct) Unsafe version ofsupportedOutputGridSizes(). -
nsupportedHintGridSizes
public static int nsupportedHintGridSizes(long struct) Unsafe version ofsupportedHintGridSizes(). -
nhintSupported
public static int nhintSupported(long struct) Unsafe version ofhintSupported(). -
ncostSupported
public static int ncostSupported(long struct) Unsafe version ofcostSupported(). -
nminWidth
public static int nminWidth(long struct) Unsafe version ofminWidth(). -
nminHeight
public static int nminHeight(long struct) Unsafe version ofminHeight(). -
nmaxWidth
public static int nmaxWidth(long struct) Unsafe version ofmaxWidth(). -
nmaxHeight
public static int nmaxHeight(long struct) Unsafe version ofmaxHeight(). -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext.
-