The filterCenter specifies the origin or center of the filter kernel, as described in Weight Sampling Operation. The numPhases describes the number of sub-pixel filter phases as described in Weight Sampling Phases.
filterSize.width must be less than or equal to VkPhysicalDeviceImageProcessingPropertiesQCOM::maxWeightFilterDimension.widthfilterSize.height must be less than or equal to VkPhysicalDeviceImageProcessingPropertiesQCOM::maxWeightFilterDimension.heightfilterCenter.x must be less than or equal to (filterSize.width - 1)filterCenter.y must be less than or equal to (filterSize.height - 1)numPhases must be a power of two squared value (i.e., 1, 4, 16, 64, 256, etc.)numPhases must be less than or equal to VkPhysicalDeviceImageProcessingPropertiesQCOM::maxWeightFilterPhasessType must be STRUCTURE_TYPE_IMAGE_VIEW_SAMPLE_WEIGHT_CREATE_INFO_QCOM
struct VkImageViewSampleWeightCreateInfoQCOM {
VkStructureType sType;
void const * pNext;
VkOffset2D filterCenter;
VkExtent2D filterSize;
uint32_t numPhases;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkImageViewSampleWeightCreateInfoQCOM.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FILTERCENTER
The struct member offsets. |
| public static final int | FILTERSIZE
The struct member offsets. |
| public static final int | NUMPHASES
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkImageViewSampleWeightCreateInfoQCOM(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkImageViewSampleWeightCreateInfoQCOM | |
| public static VkImageViewSampleWeightCreateInfoQCOM. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkImageViewSampleWeightCreateInfoQCOM | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImageViewSampleWeightCreateInfoQCOM. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkImageViewSampleWeightCreateInfoQCOM | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkImageViewSampleWeightCreateInfoQCOM | |
| public static VkImageViewSampleWeightCreateInfoQCOM | create(long address)
Returns a new |
| public static VkImageViewSampleWeightCreateInfoQCOM. | create(int
the buffer capacity capacity)Returns a new |
| public static VkImageViewSampleWeightCreateInfoQCOM. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkImageViewSampleWeightCreateInfoQCOM | |
| public static VkImageViewSampleWeightCreateInfoQCOM. | |
| public VkOffset2D | |
| public VkImageViewSampleWeightCreateInfoQCOM | |
| public VkImageViewSampleWeightCreateInfoQCOM | |
| public VkExtent2D | |
| public VkImageViewSampleWeightCreateInfoQCOM | |
| public VkImageViewSampleWeightCreateInfoQCOM | |
| public static VkImageViewSampleWeightCreateInfoQCOM | |
| public static VkImageViewSampleWeightCreateInfoQCOM. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkImageViewSampleWeightCreateInfoQCOM | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImageViewSampleWeightCreateInfoQCOM. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkOffset2D | |
| public static void | |
| public static VkExtent2D | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public int | |
| public VkImageViewSampleWeightCreateInfoQCOM | |
| public long | |
| public VkImageViewSampleWeightCreateInfoQCOM | |
| public VkImageViewSampleWeightCreateInfoQCOM | set(int sType, long pNext, VkOffset2D filterCenter, VkExtent2D filterSize, int numPhases)
Initializes this struct with the specified values. |
| public VkImageViewSampleWeightCreateInfoQCOM | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkImageViewSampleWeightCreateInfoQCOM | |
| public VkImageViewSampleWeightCreateInfoQCOM | sType$Default()
Sets the |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| FILTERCENTER | back to summary |
|---|---|
| public static final int FILTERCENTER The struct member offsets. | |
| FILTERSIZE | back to summary |
|---|---|
| public static final int FILTERSIZE The struct member offsets. | |
| NUMPHASES | back to summary |
|---|---|
| public static final int NUMPHASES The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkImageViewSampleWeightCreateInfoQCOM | back to summary |
|---|---|
| protected VkImageViewSampleWeightCreateInfoQCOM(long address, ByteBuffer container) | |
| VkImageViewSampleWeightCreateInfoQCOM | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkImageViewSampleWeightCreateInfoQCOM calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkImageViewSampleWeightCreateInfoQCOM. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkImageViewSampleWeightCreateInfoQCOM calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkImageViewSampleWeightCreateInfoQCOM. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkImageViewSampleWeightCreateInfoQCOM create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkImageViewSampleWeightCreateInfoQCOM create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkImageViewSampleWeightCreateInfoQCOM create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkImageViewSampleWeightCreateInfoQCOM. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkImageViewSampleWeightCreateInfoQCOM. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkImageViewSampleWeightCreateInfoQCOM createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkImageViewSampleWeightCreateInfoQCOM. Like
| |
| filterCenter | back to summary |
|---|---|
| public VkOffset2D filterCenter() a | |
| filterCenter | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM filterCenter(VkOffset2D value) Copies the specified | |
| filterCenter | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM filterCenter(Consumer<VkOffset2D> consumer) Passes the | |
| filterSize | back to summary |
|---|---|
| public VkExtent2D filterSize() a | |
| filterSize | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM filterSize(VkExtent2D value) Copies the specified | |
| filterSize | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM filterSize(Consumer<VkExtent2D> consumer) Passes the | |
| malloc | back to summary |
|---|---|
| public static VkImageViewSampleWeightCreateInfoQCOM malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkImageViewSampleWeightCreateInfoQCOM. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkImageViewSampleWeightCreateInfoQCOM malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkImageViewSampleWeightCreateInfoQCOM. Returns a new
| |
| nfilterCenter | back to summary |
|---|---|
| public static VkOffset2D nfilterCenter(long struct) Unsafe version of | |
| nfilterCenter | back to summary |
|---|---|
| public static void nfilterCenter(long struct, VkOffset2D value) Unsafe version of | |
| nfilterSize | back to summary |
|---|---|
| public static VkExtent2D nfilterSize(long struct) Unsafe version of | |
| nfilterSize | back to summary |
|---|---|
| public static void nfilterSize(long struct, VkExtent2D value) Unsafe version of | |
| nnumPhases | back to summary |
|---|---|
| public static int nnumPhases(long struct) Unsafe version of | |
| nnumPhases | back to summary |
|---|---|
| public static void nnumPhases(long struct, int value) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| numPhases | back to summary |
|---|---|
| public int numPhases() number of sub-pixel filter phases.
| |
| numPhases | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM numPhases(int value) Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM set(int sType, long pNext, VkOffset2D filterCenter, VkExtent2D filterSize, int numPhases) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM set(VkImageViewSampleWeightCreateInfoQCOM src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM sType$Default() Sets the | |
VkImageViewSampleWeightCreateInfoQCOM structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkImageViewSampleWeightCreateInfoQCOM |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkImageViewSampleWeightCreateInfoQCOM ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| filterCenter | back to summary |
|---|---|
public VkOffset2D filterCenter()
| |
| filterCenter | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM. Copies the specified | |
| filterCenter | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM. Passes the | |
| filterSize | back to summary |
|---|---|
public VkExtent2D filterSize()
| |
| filterSize | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM. Copies the specified | |
| filterSize | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM. Passes the | |
| getElementFactory | back to summary |
|---|---|
| protected VkImageViewSampleWeightCreateInfoQCOM getElementFactory() Implements abstract org.
| |
| numPhases | back to summary |
|---|---|
public int numPhases()
| |
| numPhases | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkImageViewSampleWeightCreateInfoQCOM. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkImageViewSampleWeightCreateInfoQCOM. Sets the | |