If the VkPhysicalDeviceSamplerFilterMinmaxProperties structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.
If filterMinmaxSingleComponentFormats is TRUE, the following formats must support the FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT feature with IMAGE_TILING_OPTIMAL, if they support FORMAT_FEATURE_SAMPLED_IMAGE_BIT:
FORMAT_R8_UNORMFORMAT_R8_SNORMFORMAT_R16_UNORMFORMAT_R16_SNORMFORMAT_R16_SFLOATFORMAT_R32_SFLOATFORMAT_D16_UNORMFORMAT_X8_D24_UNORM_PACK32FORMAT_D32_SFLOATFORMAT_D16_UNORM_S8_UINTFORMAT_D24_UNORM_S8_UINTFORMAT_D32_SFLOAT_S8_UINTIf the format is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports min/max filtering, and that min/max filtering of the depth aspect is supported when depth compare is disabled in the sampler.
If filterMinmaxImageComponentMapping is FALSE the component mapping of the image view used with min/max filtering must have been created with the r component set to the identity swizzle. Only the r component of the sampled image value is defined and the other component values are undefined. If filterMinmaxImageComponentMapping is TRUE this restriction does not apply and image component mapping works as normal.
struct VkPhysicalDeviceSamplerFilterMinmaxProperties {
VkStructureType sType;
void * pNext;
VkBool32 filterMinmaxSingleComponentFormats;
VkBool32 filterMinmaxImageComponentMapping;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FILTERMINMAXIMAGECOMPONENTMAPPING
The struct member offsets. |
| public static final int | FILTERMINMAXSINGLECOMPONENTFORMATS
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 | VkPhysicalDeviceSamplerFilterMinmaxProperties(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties | |
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkPhysicalDeviceSamplerFilterMinmaxProperties | 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 VkPhysicalDeviceSamplerFilterMinmaxProperties | create()
Returns a new |
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties | create(long address)
Returns a new |
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties | |
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties. | |
| public boolean | filterMinmaxImageComponentMapping()
a boolean value indicating whether the implementation supports non-identity component mapping of the image when doing min/max filtering. |
| public boolean | filterMinmaxSingleComponentFormats()
a boolean value indicating whether a minimum set of required formats support min/max filtering. |
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties | |
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static int | nfilterMinmaxSingleComponentFormats(long struct)
Unsafe version of |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkPhysicalDeviceSamplerFilterMinmaxProperties | |
| public VkPhysicalDeviceSamplerFilterMinmaxProperties | |
| public VkPhysicalDeviceSamplerFilterMinmaxProperties | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkPhysicalDeviceSamplerFilterMinmaxProperties | |
| public VkPhysicalDeviceSamplerFilterMinmaxProperties | sType$Default()
Sets the |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| FILTERMINMAXIMAGECOMPONENTMAPPING | back to summary |
|---|---|
| public static final int FILTERMINMAXIMAGECOMPONENTMAPPING The struct member offsets. | |
| FILTERMINMAXSINGLECOMPONENTFORMATS | back to summary |
|---|---|
| public static final int FILTERMINMAXSINGLECOMPONENTFORMATS 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. | |
| VkPhysicalDeviceSamplerFilterMinmaxProperties | back to summary |
|---|---|
| protected VkPhysicalDeviceSamplerFilterMinmaxProperties(long address, ByteBuffer container) | |
| VkPhysicalDeviceSamplerFilterMinmaxProperties | back to summary |
|---|---|
| public VkPhysicalDeviceSamplerFilterMinmaxProperties(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkPhysicalDeviceSamplerFilterMinmaxProperties create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties. Like
| |
| filterMinmaxImageComponentMapping | back to summary |
|---|---|
| public boolean filterMinmaxImageComponentMapping() a boolean value indicating whether the implementation supports non-identity component mapping of the image when doing min/max filtering.
| |
| filterMinmaxSingleComponentFormats | back to summary |
|---|---|
| public boolean filterMinmaxSingleComponentFormats() a boolean value indicating whether a minimum set of required formats support min/max filtering.
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkPhysicalDeviceSamplerFilterMinmaxProperties. Returns a new
| |
| nfilterMinmaxImageComponentMapping | back to summary |
|---|---|
| public static int nfilterMinmaxImageComponentMapping(long struct) Unsafe version of | |
| nfilterMinmaxSingleComponentFormats | back to summary |
|---|---|
| public static int nfilterMinmaxSingleComponentFormats(long struct) 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 | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceSamplerFilterMinmaxProperties pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkPhysicalDeviceSamplerFilterMinmaxProperties set(int sType, long pNext) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkPhysicalDeviceSamplerFilterMinmaxProperties set(VkPhysicalDeviceSamplerFilterMinmaxProperties 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 VkPhysicalDeviceSamplerFilterMinmaxProperties sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPhysicalDeviceSamplerFilterMinmaxProperties sType$Default() Sets the | |
VkPhysicalDeviceSamplerFilterMinmaxProperties structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkPhysicalDeviceSamplerFilterMinmaxProperties |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkPhysicalDeviceSamplerFilterMinmaxProperties 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) | |
| filterMinmaxImageComponentMapping | back to summary |
|---|---|
public boolean filterMinmaxImageComponentMapping()
| |
| filterMinmaxSingleComponentFormats | back to summary |
|---|---|
public boolean filterMinmaxSingleComponentFormats()
| |
| getElementFactory | back to summary |
|---|---|
| protected VkPhysicalDeviceSamplerFilterMinmaxProperties getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkPhysicalDeviceSamplerFilterMinmaxProperties. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkPhysicalDeviceSamplerFilterMinmaxProperties. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkPhysicalDeviceSamplerFilterMinmaxProperties. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkPhysicalDeviceSamplerFilterMinmaxProperties. Sets the | |