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