Package org.lwjgl.vulkan
Class VkAttachmentSampleCountInfoAMD.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkAttachmentSampleCountInfoAMD,VkAttachmentSampleCountInfoAMD.Buffer>
-
- org.lwjgl.vulkan.VkAttachmentSampleCountInfoAMD.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkAttachmentSampleCountInfoAMD>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkAttachmentSampleCountInfoNV.Buffer
- Enclosing class:
- VkAttachmentSampleCountInfoAMD
public static class VkAttachmentSampleCountInfoAMD.Buffer extends org.lwjgl.system.StructBuffer<VkAttachmentSampleCountInfoAMD,VkAttachmentSampleCountInfoAMD.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkAttachmentSampleCountInfoAMDstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkAttachmentSampleCountInfoAMD.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 byVkAttachmentSampleCountInfoAMD.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
VkAttachmentSampleCountInfoAMD.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkAttachmentSampleCountInfoAMD.pNext()field.
-
colorAttachmentCount
public int colorAttachmentCount()
- Returns:
- the value of the
VkAttachmentSampleCountInfoAMD.colorAttachmentCount()field.
-
pColorAttachmentSamples
@Nullable public java.nio.IntBuffer pColorAttachmentSamples()
- Returns:
- a
IntBufferview of the data pointed to by theVkAttachmentSampleCountInfoAMD.pColorAttachmentSamples()field.
-
depthStencilAttachmentSamples
public int depthStencilAttachmentSamples()
- Returns:
- the value of the
VkAttachmentSampleCountInfoAMD.depthStencilAttachmentSamples()field.
-
sType
public VkAttachmentSampleCountInfoAMD.Buffer sType(int value)
Sets the specified value to theVkAttachmentSampleCountInfoAMD.sType()field.
-
sType$Default
public VkAttachmentSampleCountInfoAMD.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMDvalue to theVkAttachmentSampleCountInfoAMD.sType()field.
-
pNext
public VkAttachmentSampleCountInfoAMD.Buffer pNext(long value)
Sets the specified value to theVkAttachmentSampleCountInfoAMD.pNext()field.
-
pColorAttachmentSamples
public VkAttachmentSampleCountInfoAMD.Buffer pColorAttachmentSamples(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto theVkAttachmentSampleCountInfoAMD.pColorAttachmentSamples()field.
-
depthStencilAttachmentSamples
public VkAttachmentSampleCountInfoAMD.Buffer depthStencilAttachmentSamples(int value)
Sets the specified value to theVkAttachmentSampleCountInfoAMD.depthStencilAttachmentSamples()field.
-
-