Package org.lwjgl.vulkan
Class VkPipelineMultisampleStateCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.StructBuffer<VkPipelineMultisampleStateCreateInfo,VkPipelineMultisampleStateCreateInfo.Buffer>
-
- org.lwjgl.vulkan.VkPipelineMultisampleStateCreateInfo.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- VkPipelineMultisampleStateCreateInfo
public static final class VkPipelineMultisampleStateCreateInfo.Buffer extends StructBuffer<VkPipelineMultisampleStateCreateInfo,VkPipelineMultisampleStateCreateInfo.Buffer>
An array ofVkPipelineMultisampleStateCreateInfo
structs.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)
Creates a newVkPipelineMultisampleStateCreateInfo.Buffer
instance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
alphaToCoverageEnable()
Returns the value of thealphaToCoverageEnable
field.VkPipelineMultisampleStateCreateInfo.Buffer
alphaToCoverageEnable(int value)
Sets the specified value to thealphaToCoverageEnable
field.int
alphaToOneEnable()
Returns the value of thealphaToOneEnable
field.VkPipelineMultisampleStateCreateInfo.Buffer
alphaToOneEnable(int value)
Sets the specified value to thealphaToOneEnable
field.int
flags()
Returns the value of theflags
field.VkPipelineMultisampleStateCreateInfo.Buffer
flags(int value)
Sets the specified value to theflags
field.float
minSampleShading()
Returns the value of theminSampleShading
field.VkPipelineMultisampleStateCreateInfo.Buffer
minSampleShading(float value)
Sets the specified value to theminSampleShading
field.long
pNext()
Returns the value of thepNext
field.VkPipelineMultisampleStateCreateInfo.Buffer
pNext(long value)
Sets the specified value to thepNext
field.java.nio.IntBuffer
pSampleMask(int capacity)
Returns aIntBuffer
view of the data pointed to by thepSampleMask
field.VkPipelineMultisampleStateCreateInfo.Buffer
pSampleMask(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepSampleMask
field.int
rasterizationSamples()
Returns the value of therasterizationSamples
field.VkPipelineMultisampleStateCreateInfo.Buffer
rasterizationSamples(int value)
Sets the specified value to therasterizationSamples
field.int
sampleShadingEnable()
Returns the value of thesampleShadingEnable
field.VkPipelineMultisampleStateCreateInfo.Buffer
sampleShadingEnable(int value)
Sets the specified value to thesampleShadingEnable
field.int
sType()
Returns the value of thesType
field.VkPipelineMultisampleStateCreateInfo.Buffer
sType(int value)
Sets the specified value to thesType
field.-
Methods inherited from class org.lwjgl.system.StructBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, get, get, get, get, hasRemaining, limit, limit, mark, position, position, put, put, put, remaining, reset, rewind, slice, slice, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkPipelineMultisampleStateCreateInfo.Buffer
instance 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 byVkPipelineMultisampleStateCreateInfo.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
-
Method Detail
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
flags
public int flags()
Returns the value of theflags
field.
-
rasterizationSamples
public int rasterizationSamples()
Returns the value of therasterizationSamples
field.
-
sampleShadingEnable
public int sampleShadingEnable()
Returns the value of thesampleShadingEnable
field.
-
minSampleShading
public float minSampleShading()
Returns the value of theminSampleShading
field.
-
pSampleMask
public java.nio.IntBuffer pSampleMask(int capacity)
Returns aIntBuffer
view of the data pointed to by thepSampleMask
field.- Parameters:
capacity
- the number of elements in the returned buffer
-
alphaToCoverageEnable
public int alphaToCoverageEnable()
Returns the value of thealphaToCoverageEnable
field.
-
alphaToOneEnable
public int alphaToOneEnable()
Returns the value of thealphaToOneEnable
field.
-
sType
public VkPipelineMultisampleStateCreateInfo.Buffer sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkPipelineMultisampleStateCreateInfo.Buffer pNext(long value)
Sets the specified value to thepNext
field.
-
flags
public VkPipelineMultisampleStateCreateInfo.Buffer flags(int value)
Sets the specified value to theflags
field.
-
rasterizationSamples
public VkPipelineMultisampleStateCreateInfo.Buffer rasterizationSamples(int value)
Sets the specified value to therasterizationSamples
field.
-
sampleShadingEnable
public VkPipelineMultisampleStateCreateInfo.Buffer sampleShadingEnable(int value)
Sets the specified value to thesampleShadingEnable
field.
-
minSampleShading
public VkPipelineMultisampleStateCreateInfo.Buffer minSampleShading(float value)
Sets the specified value to theminSampleShading
field.
-
pSampleMask
public VkPipelineMultisampleStateCreateInfo.Buffer pSampleMask(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepSampleMask
field.
-
alphaToCoverageEnable
public VkPipelineMultisampleStateCreateInfo.Buffer alphaToCoverageEnable(int value)
Sets the specified value to thealphaToCoverageEnable
field.
-
alphaToOneEnable
public VkPipelineMultisampleStateCreateInfo.Buffer alphaToOneEnable(int value)
Sets the specified value to thealphaToOneEnable
field.
-
-