public class VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.
If filterMinmaxSingleComponentFormats is TRUE, the following formats must support the FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT 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 COMPONENT_SWIZZLE_IDENTITY. 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.
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.filterMinmaxSingleComponentFormats – a boolean value indicating whether a minimum set of required formats support min/max filtering.filterMinmaxImageComponentMapping – a boolean value indicating whether the implementation supports non-identity component mapping of the image when doing min/max filtering.
struct VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT {
VkStructureType sType;
void * pNext;
VkBool32 filterMinmaxSingleComponentFormats;
VkBool32 filterMinmaxImageComponentMapping;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer
An array of
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
FILTERMINMAXIMAGECOMPONENTMAPPING
The struct member offsets.
|
static int |
FILTERMINMAXSINGLECOMPONENTFORMATS
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT |
calloc()
Returns a new
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT |
callocStack()
Returns a new
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT |
create()
Returns a new
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT |
create(long address)
Returns a new
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT instance for the specified memory address. |
static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT |
createSafe(long address)
|
static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer |
createSafe(long address,
int capacity)
|
boolean |
filterMinmaxImageComponentMapping()
Returns the value of the
filterMinmaxImageComponentMapping field. |
boolean |
filterMinmaxSingleComponentFormats()
Returns the value of the
filterMinmaxSingleComponentFormats field. |
static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT |
malloc()
Returns a new
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT instance allocated on the specified MemoryStack. |
static int |
nfilterMinmaxImageComponentMapping(long struct)
Unsafe version of
filterMinmaxImageComponentMapping(). |
static int |
nfilterMinmaxSingleComponentFormats(long struct)
Unsafe version of
filterMinmaxSingleComponentFormats(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT |
set(VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int FILTERMINMAXSINGLECOMPONENTFORMATS
public static final int FILTERMINMAXIMAGECOMPONENTMAPPING
public VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public boolean filterMinmaxSingleComponentFormats()
filterMinmaxSingleComponentFormats field.public boolean filterMinmaxImageComponentMapping()
filterMinmaxImageComponentMapping field.public VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT sType(int value)
sType field.public VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT pNext(long value)
pNext field.public VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT set(int sType, long pNext)
public VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT set(VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT src)
src - the source structpublic static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT malloc()
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT calloc()
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT create()
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT create(long address)
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT createSafe(long address)
public static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer create(int capacity)
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT mallocStack()
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT callocStack()
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nfilterMinmaxSingleComponentFormats(long struct)
filterMinmaxSingleComponentFormats().public static int nfilterMinmaxImageComponentMapping(long struct)
filterMinmaxImageComponentMapping().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.