Package org.lwjgl.vulkan
Class VkFormatProperties2.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkFormatProperties2,VkFormatProperties2.Buffer>
-
- org.lwjgl.vulkan.VkFormatProperties2.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkFormatProperties2>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkFormatProperties2KHR.Buffer
- Enclosing class:
- VkFormatProperties2
public static class VkFormatProperties2.Buffer extends org.lwjgl.system.StructBuffer<VkFormatProperties2,VkFormatProperties2.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkFormatProperties2structs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkFormatProperties2.Bufferinstance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided byVkFormatProperties2.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
sType
public int sType()
- Returns:
- the value of the
VkFormatProperties2.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkFormatProperties2.pNext()field.
-
formatProperties
public VkFormatProperties formatProperties()
- Returns:
- a
VkFormatPropertiesview of theVkFormatProperties2.formatProperties()field.
-
sType
public VkFormatProperties2.Buffer sType(int value)
Sets the specified value to theVkFormatProperties2.sType()field.
-
sType$Default
public VkFormatProperties2.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_FORMAT_PROPERTIES_2value to theVkFormatProperties2.sType()field.
-
pNext
public VkFormatProperties2.Buffer pNext(long value)
Sets the specified value to theVkFormatProperties2.pNext()field.
-
pNext
public VkFormatProperties2.Buffer pNext(VkDrmFormatModifierPropertiesList2EXT value)
Prepends the specifiedVkDrmFormatModifierPropertiesList2EXTvalue to thepNextchain.
-
pNext
public VkFormatProperties2.Buffer pNext(VkDrmFormatModifierPropertiesListEXT value)
Prepends the specifiedVkDrmFormatModifierPropertiesListEXTvalue to thepNextchain.
-
pNext
public VkFormatProperties2.Buffer pNext(VkFormatProperties3 value)
Prepends the specifiedVkFormatProperties3value to thepNextchain.
-
pNext
public VkFormatProperties2.Buffer pNext(VkFormatProperties3KHR value)
Prepends the specifiedVkFormatProperties3KHRvalue to thepNextchain.
-
pNext
public VkFormatProperties2.Buffer pNext(VkVideoDecodeH264ProfileEXT value)
Prepends the specifiedVkVideoDecodeH264ProfileEXTvalue to thepNextchain.
-
pNext
public VkFormatProperties2.Buffer pNext(VkVideoDecodeH265ProfileEXT value)
Prepends the specifiedVkVideoDecodeH265ProfileEXTvalue to thepNextchain.
-
pNext
public VkFormatProperties2.Buffer pNext(VkVideoEncodeH264ProfileEXT value)
Prepends the specifiedVkVideoEncodeH264ProfileEXTvalue to thepNextchain.
-
pNext
public VkFormatProperties2.Buffer pNext(VkVideoEncodeH265ProfileEXT value)
Prepends the specifiedVkVideoEncodeH265ProfileEXTvalue to thepNextchain.
-
pNext
public VkFormatProperties2.Buffer pNext(VkVideoProfileKHR value)
Prepends the specifiedVkVideoProfileKHRvalue to thepNextchain.
-
pNext
public VkFormatProperties2.Buffer pNext(VkVideoProfilesKHR value)
Prepends the specifiedVkVideoProfilesKHRvalue to thepNextchain.
-
-