public class VkPhysicalDeviceShaderImageFootprintFeaturesNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
See Texel Footprint Evaluation for more information.
If the VkPhysicalDeviceShaderImageFootprintFeaturesNV structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether each feature is supported. VkPhysicalDeviceShaderImageFootprintFeaturesNV can also be included in the pNext chain of VkDeviceCreateInfo to enable features.
imageFootprint – specifies whether the implementation supports the ImageFootprintNV SPIR-V capability.
struct VkPhysicalDeviceShaderImageFootprintFeaturesNV {
VkStructureType sType;
void * pNext;
VkBool32 imageFootprint;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer
An array of
VkPhysicalDeviceShaderImageFootprintFeaturesNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
IMAGEFOOTPRINT
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 |
|---|
VkPhysicalDeviceShaderImageFootprintFeaturesNV(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceShaderImageFootprintFeaturesNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceShaderImageFootprintFeaturesNV |
calloc()
Returns a new
VkPhysicalDeviceShaderImageFootprintFeaturesNV instance allocated with memCalloc. |
static VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceShaderImageFootprintFeaturesNV |
callocStack()
Returns a new
VkPhysicalDeviceShaderImageFootprintFeaturesNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceShaderImageFootprintFeaturesNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceShaderImageFootprintFeaturesNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceShaderImageFootprintFeaturesNV |
create()
Returns a new
VkPhysicalDeviceShaderImageFootprintFeaturesNV instance allocated with BufferUtils. |
static VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceShaderImageFootprintFeaturesNV |
create(long address)
Returns a new
VkPhysicalDeviceShaderImageFootprintFeaturesNV instance for the specified memory address. |
static VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer instance at the specified memory. |
static VkPhysicalDeviceShaderImageFootprintFeaturesNV |
createSafe(long address)
|
static VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer |
createSafe(long address,
int capacity)
|
boolean |
imageFootprint()
Returns the value of the
imageFootprint field. |
VkPhysicalDeviceShaderImageFootprintFeaturesNV |
imageFootprint(boolean value)
Sets the specified value to the
imageFootprint field. |
static VkPhysicalDeviceShaderImageFootprintFeaturesNV |
malloc()
Returns a new
VkPhysicalDeviceShaderImageFootprintFeaturesNV instance allocated with memAlloc. |
static VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceShaderImageFootprintFeaturesNV |
mallocStack()
Returns a new
VkPhysicalDeviceShaderImageFootprintFeaturesNV instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceShaderImageFootprintFeaturesNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceShaderImageFootprintFeaturesNV instance allocated on the specified MemoryStack. |
static int |
nimageFootprint(long struct)
Unsafe version of
imageFootprint(). |
static void |
nimageFootprint(long struct,
int value)
Unsafe version of
imageFootprint. |
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. |
VkPhysicalDeviceShaderImageFootprintFeaturesNV |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceShaderImageFootprintFeaturesNV |
set(int sType,
long pNext,
boolean imageFootprint)
Initializes this struct with the specified values.
|
VkPhysicalDeviceShaderImageFootprintFeaturesNV |
set(VkPhysicalDeviceShaderImageFootprintFeaturesNV src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceShaderImageFootprintFeaturesNV |
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 IMAGEFOOTPRINT
public VkPhysicalDeviceShaderImageFootprintFeaturesNV(java.nio.ByteBuffer container)
VkPhysicalDeviceShaderImageFootprintFeaturesNV 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 imageFootprint()
imageFootprint field.public VkPhysicalDeviceShaderImageFootprintFeaturesNV sType(int value)
sType field.public VkPhysicalDeviceShaderImageFootprintFeaturesNV pNext(long value)
pNext field.public VkPhysicalDeviceShaderImageFootprintFeaturesNV imageFootprint(boolean value)
imageFootprint field.public VkPhysicalDeviceShaderImageFootprintFeaturesNV set(int sType, long pNext, boolean imageFootprint)
public VkPhysicalDeviceShaderImageFootprintFeaturesNV set(VkPhysicalDeviceShaderImageFootprintFeaturesNV src)
src - the source structpublic static VkPhysicalDeviceShaderImageFootprintFeaturesNV malloc()
VkPhysicalDeviceShaderImageFootprintFeaturesNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceShaderImageFootprintFeaturesNV calloc()
VkPhysicalDeviceShaderImageFootprintFeaturesNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceShaderImageFootprintFeaturesNV create()
VkPhysicalDeviceShaderImageFootprintFeaturesNV instance allocated with BufferUtils.public static VkPhysicalDeviceShaderImageFootprintFeaturesNV create(long address)
VkPhysicalDeviceShaderImageFootprintFeaturesNV instance for the specified memory address.@Nullable public static VkPhysicalDeviceShaderImageFootprintFeaturesNV createSafe(long address)
public static VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer malloc(int capacity)
VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer calloc(int capacity)
VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer create(int capacity)
VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer create(long address, int capacity)
VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceShaderImageFootprintFeaturesNV mallocStack()
VkPhysicalDeviceShaderImageFootprintFeaturesNV instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceShaderImageFootprintFeaturesNV callocStack()
VkPhysicalDeviceShaderImageFootprintFeaturesNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceShaderImageFootprintFeaturesNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceShaderImageFootprintFeaturesNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceShaderImageFootprintFeaturesNV callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceShaderImageFootprintFeaturesNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer mallocStack(int capacity)
VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer callocStack(int capacity)
VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceShaderImageFootprintFeaturesNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceShaderImageFootprintFeaturesNV.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 nimageFootprint(long struct)
imageFootprint().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nimageFootprint(long struct,
int value)
imageFootprint.Copyright LWJGL. All Rights Reserved. License terms.