Package org.lwjgl.vulkan
Class VkPhysicalDeviceImagelessFramebufferFeatures
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceImagelessFramebufferFeatures
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkPhysicalDeviceImagelessFramebufferFeaturesKHR
public class VkPhysicalDeviceImagelessFramebufferFeatures extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure indicating support for imageless framebuffers.Description
If the
VkPhysicalDeviceImagelessFramebufferFeaturesstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceImagelessFramebufferFeaturescan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceImagelessFramebufferFeatures { VkStructureTypesType(); void *pNext(); VkBool32imagelessFramebuffer(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceImagelessFramebufferFeatures.BufferAn array ofVkPhysicalDeviceImagelessFramebufferFeaturesstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intIMAGELESSFRAMEBUFFER
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceImagelessFramebufferFeatures(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceImagelessFramebufferFeaturesinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceImagelessFramebufferFeaturescalloc()Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesinstance allocated withmemCalloc.static VkPhysicalDeviceImagelessFramebufferFeatures.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceImagelessFramebufferFeatures.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceImagelessFramebufferFeatures.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceImagelessFramebufferFeatures.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceImagelessFramebufferFeaturescalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceImagelessFramebufferFeaturescreate()Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesinstance allocated withBufferUtils.static VkPhysicalDeviceImagelessFramebufferFeatures.Buffercreate(int capacity)Returns a newVkPhysicalDeviceImagelessFramebufferFeatures.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceImagelessFramebufferFeaturescreate(long address)Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesinstance for the specified memory address.static VkPhysicalDeviceImagelessFramebufferFeatures.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceImagelessFramebufferFeatures.Bufferinstance at the specified memory.static VkPhysicalDeviceImagelessFramebufferFeaturescreateSafe(long address)static VkPhysicalDeviceImagelessFramebufferFeatures.BuffercreateSafe(long address, int capacity)booleanimagelessFramebuffer()indicates that the implementation supports specifying the image view for attachments at render pass begin time viaVkRenderPassAttachmentBeginInfo.VkPhysicalDeviceImagelessFramebufferFeaturesimagelessFramebuffer(boolean value)Sets the specified value to theimagelessFramebuffer()field.static VkPhysicalDeviceImagelessFramebufferFeaturesmalloc()Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesinstance allocated withmemAlloc.static VkPhysicalDeviceImagelessFramebufferFeatures.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceImagelessFramebufferFeatures.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceImagelessFramebufferFeatures.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceImagelessFramebufferFeatures.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceImagelessFramebufferFeaturesmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesinstance allocated on the specifiedMemoryStack.static intnimagelessFramebuffer(long struct)Unsafe version ofimagelessFramebuffer().static voidnimagelessFramebuffer(long struct, int value)Unsafe version ofimagelessFramebuffer.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()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceImagelessFramebufferFeaturespNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceImagelessFramebufferFeaturesset(int sType, long pNext, boolean imagelessFramebuffer)Initializes this struct with the specified values.VkPhysicalDeviceImagelessFramebufferFeaturesset(VkPhysicalDeviceImagelessFramebufferFeatures src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceImagelessFramebufferFeaturessType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceImagelessFramebufferFeaturessType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURESvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceImagelessFramebufferFeatures
public VkPhysicalDeviceImagelessFramebufferFeatures(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceImagelessFramebufferFeaturesinstance 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()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
imagelessFramebuffer
public boolean imagelessFramebuffer()
indicates that the implementation supports specifying the image view for attachments at render pass begin time viaVkRenderPassAttachmentBeginInfo.
-
sType
public VkPhysicalDeviceImagelessFramebufferFeatures sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceImagelessFramebufferFeatures sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURESvalue to thesType()field.
-
pNext
public VkPhysicalDeviceImagelessFramebufferFeatures pNext(long value)
Sets the specified value to thepNext()field.
-
imagelessFramebuffer
public VkPhysicalDeviceImagelessFramebufferFeatures imagelessFramebuffer(boolean value)
Sets the specified value to theimagelessFramebuffer()field.
-
set
public VkPhysicalDeviceImagelessFramebufferFeatures set(int sType, long pNext, boolean imagelessFramebuffer)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceImagelessFramebufferFeatures set(VkPhysicalDeviceImagelessFramebufferFeatures src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceImagelessFramebufferFeatures malloc()
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceImagelessFramebufferFeatures calloc()
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceImagelessFramebufferFeatures create()
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceImagelessFramebufferFeatures create(long address)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceImagelessFramebufferFeatures createSafe(long address)
-
malloc
public static VkPhysicalDeviceImagelessFramebufferFeatures.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceImagelessFramebufferFeatures.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceImagelessFramebufferFeatures.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceImagelessFramebufferFeatures.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceImagelessFramebufferFeatures.Buffer create(int capacity)
Returns a newVkPhysicalDeviceImagelessFramebufferFeatures.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceImagelessFramebufferFeatures.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceImagelessFramebufferFeatures.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceImagelessFramebufferFeatures.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceImagelessFramebufferFeatures malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceImagelessFramebufferFeatures calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImagelessFramebufferFeaturesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceImagelessFramebufferFeatures.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImagelessFramebufferFeatures.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceImagelessFramebufferFeatures.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceImagelessFramebufferFeatures.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().
-
nimagelessFramebuffer
public static int nimagelessFramebuffer(long struct)
Unsafe version ofimagelessFramebuffer().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nimagelessFramebuffer
public static void nimagelessFramebuffer(long struct, int value)Unsafe version ofimagelessFramebuffer.
-
-