Package org.lwjgl.vulkan
Class VkPhysicalDeviceDynamicRenderingFeatures
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceDynamicRenderingFeatures
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkPhysicalDeviceDynamicRenderingFeaturesKHR
public class VkPhysicalDeviceDynamicRenderingFeatures extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure indicating support for dynamic render pass instances.Description
If the
VkPhysicalDeviceDynamicRenderingFeaturesstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceDynamicRenderingFeaturescan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceDynamicRenderingFeatures { VkStructureType sType; void * pNext; VkBool32dynamicRendering(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceDynamicRenderingFeatures.BufferAn array ofVkPhysicalDeviceDynamicRenderingFeaturesstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intDYNAMICRENDERING
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceDynamicRenderingFeatures(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceDynamicRenderingFeaturesinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceDynamicRenderingFeaturescalloc()Returns a newVkPhysicalDeviceDynamicRenderingFeaturesinstance allocated withmemCalloc.static VkPhysicalDeviceDynamicRenderingFeatures.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceDynamicRenderingFeatures.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceDynamicRenderingFeatures.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDynamicRenderingFeatures.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceDynamicRenderingFeaturescalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDynamicRenderingFeaturesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceDynamicRenderingFeaturescreate()Returns a newVkPhysicalDeviceDynamicRenderingFeaturesinstance allocated withBufferUtils.static VkPhysicalDeviceDynamicRenderingFeatures.Buffercreate(int capacity)Returns a newVkPhysicalDeviceDynamicRenderingFeatures.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceDynamicRenderingFeaturescreate(long address)Returns a newVkPhysicalDeviceDynamicRenderingFeaturesinstance for the specified memory address.static VkPhysicalDeviceDynamicRenderingFeatures.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceDynamicRenderingFeatures.Bufferinstance at the specified memory.static VkPhysicalDeviceDynamicRenderingFeaturescreateSafe(long address)static VkPhysicalDeviceDynamicRenderingFeatures.BuffercreateSafe(long address, int capacity)booleandynamicRendering()specifies that the implementation supports dynamic render pass instances using theCmdBeginRenderingcommand.VkPhysicalDeviceDynamicRenderingFeaturesdynamicRendering(boolean value)Sets the specified value to thedynamicRendering()field.static VkPhysicalDeviceDynamicRenderingFeaturesmalloc()Returns a newVkPhysicalDeviceDynamicRenderingFeaturesinstance allocated withmemAlloc.static VkPhysicalDeviceDynamicRenderingFeatures.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceDynamicRenderingFeatures.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceDynamicRenderingFeatures.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDynamicRenderingFeatures.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceDynamicRenderingFeaturesmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDynamicRenderingFeaturesinstance allocated on the specifiedMemoryStack.static intndynamicRendering(long struct)Unsafe version ofdynamicRendering().static voidndynamicRendering(long struct, int value)Unsafe version ofdynamicRendering.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()VkPhysicalDeviceDynamicRenderingFeaturespNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceDynamicRenderingFeaturesset(int sType, long pNext, boolean dynamicRendering)Initializes this struct with the specified values.VkPhysicalDeviceDynamicRenderingFeaturesset(VkPhysicalDeviceDynamicRenderingFeatures src)Copies the specified struct data to this struct.intsizeof()intsType()VkPhysicalDeviceDynamicRenderingFeaturessType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceDynamicRenderingFeaturessType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURESvalue to thesTypefield.
-
-
-
Constructor Detail
-
VkPhysicalDeviceDynamicRenderingFeatures
public VkPhysicalDeviceDynamicRenderingFeatures(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceDynamicRenderingFeaturesinstance at the current position of the specifiedByteBuffercontainer. 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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()
- Returns:
- the value of the
pNextfield.
-
dynamicRendering
public boolean dynamicRendering()
specifies that the implementation supports dynamic render pass instances using theCmdBeginRenderingcommand.
-
sType
public VkPhysicalDeviceDynamicRenderingFeatures sType(int value)
Sets the specified value to thesTypefield.
-
sType$Default
public VkPhysicalDeviceDynamicRenderingFeatures sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURESvalue to thesTypefield.
-
pNext
public VkPhysicalDeviceDynamicRenderingFeatures pNext(long value)
Sets the specified value to thepNextfield.
-
dynamicRendering
public VkPhysicalDeviceDynamicRenderingFeatures dynamicRendering(boolean value)
Sets the specified value to thedynamicRendering()field.
-
set
public VkPhysicalDeviceDynamicRenderingFeatures set(int sType, long pNext, boolean dynamicRendering)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceDynamicRenderingFeatures set(VkPhysicalDeviceDynamicRenderingFeatures src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceDynamicRenderingFeatures malloc()
Returns a newVkPhysicalDeviceDynamicRenderingFeaturesinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceDynamicRenderingFeatures calloc()
Returns a newVkPhysicalDeviceDynamicRenderingFeaturesinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceDynamicRenderingFeatures create()
Returns a newVkPhysicalDeviceDynamicRenderingFeaturesinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceDynamicRenderingFeatures create(long address)
Returns a newVkPhysicalDeviceDynamicRenderingFeaturesinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceDynamicRenderingFeatures createSafe(long address)
-
malloc
public static VkPhysicalDeviceDynamicRenderingFeatures.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceDynamicRenderingFeatures.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceDynamicRenderingFeatures.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceDynamicRenderingFeatures.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceDynamicRenderingFeatures.Buffer create(int capacity)
Returns a newVkPhysicalDeviceDynamicRenderingFeatures.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceDynamicRenderingFeatures.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceDynamicRenderingFeatures.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceDynamicRenderingFeatures.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceDynamicRenderingFeatures malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDynamicRenderingFeaturesinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceDynamicRenderingFeatures calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDynamicRenderingFeaturesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceDynamicRenderingFeatures.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDynamicRenderingFeatures.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceDynamicRenderingFeatures.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDynamicRenderingFeatures.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
ndynamicRendering
public static int ndynamicRendering(long struct)
Unsafe version ofdynamicRendering().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
ndynamicRendering
public static void ndynamicRendering(long struct, int value)Unsafe version ofdynamicRendering.
-
-