public static class VkPipelineMultisampleStateCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkPipelineMultisampleStateCreateInfo,VkPipelineMultisampleStateCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
VkPipelineMultisampleStateCreateInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkPipelineMultisampleStateCreateInfo.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
alphaToCoverageEnable()
Returns the value of the
alphaToCoverageEnable field. |
VkPipelineMultisampleStateCreateInfo.Buffer |
alphaToCoverageEnable(boolean value)
Sets the specified value to the
alphaToCoverageEnable field. |
boolean |
alphaToOneEnable()
Returns the value of the
alphaToOneEnable field. |
VkPipelineMultisampleStateCreateInfo.Buffer |
alphaToOneEnable(boolean value)
Sets the specified value to the
alphaToOneEnable field. |
int |
flags()
Returns the value of the
flags field. |
VkPipelineMultisampleStateCreateInfo.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
float |
minSampleShading()
Returns the value of the
minSampleShading field. |
VkPipelineMultisampleStateCreateInfo.Buffer |
minSampleShading(float value)
Sets the specified value to the
minSampleShading field. |
long |
pNext()
Returns the value of the
pNext field. |
VkPipelineMultisampleStateCreateInfo.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
java.nio.IntBuffer |
pSampleMask(int capacity)
Returns a
IntBuffer view of the data pointed to by the pSampleMask field. |
VkPipelineMultisampleStateCreateInfo.Buffer |
pSampleMask(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pSampleMask field. |
int |
rasterizationSamples()
Returns the value of the
rasterizationSamples field. |
VkPipelineMultisampleStateCreateInfo.Buffer |
rasterizationSamples(int value)
Sets the specified value to the
rasterizationSamples field. |
boolean |
sampleShadingEnable()
Returns the value of the
sampleShadingEnable field. |
VkPipelineMultisampleStateCreateInfo.Buffer |
sampleShadingEnable(boolean value)
Sets the specified value to the
sampleShadingEnable field. |
int |
sType()
Returns the value of the
sType field. |
VkPipelineMultisampleStateCreateInfo.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkPipelineMultisampleStateCreateInfo.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
by VkPipelineMultisampleStateCreateInfo.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int sType()
sType field.public long pNext()
pNext field.public int flags()
flags field.public int rasterizationSamples()
rasterizationSamples field.public boolean sampleShadingEnable()
sampleShadingEnable field.public float minSampleShading()
minSampleShading field.@Nullable public java.nio.IntBuffer pSampleMask(int capacity)
IntBuffer view of the data pointed to by the pSampleMask field.capacity - the number of elements in the returned bufferpublic boolean alphaToCoverageEnable()
alphaToCoverageEnable field.public boolean alphaToOneEnable()
alphaToOneEnable field.public VkPipelineMultisampleStateCreateInfo.Buffer sType(int value)
sType field.public VkPipelineMultisampleStateCreateInfo.Buffer pNext(long value)
pNext field.public VkPipelineMultisampleStateCreateInfo.Buffer flags(int value)
flags field.public VkPipelineMultisampleStateCreateInfo.Buffer rasterizationSamples(int value)
rasterizationSamples field.public VkPipelineMultisampleStateCreateInfo.Buffer sampleShadingEnable(boolean value)
sampleShadingEnable field.public VkPipelineMultisampleStateCreateInfo.Buffer minSampleShading(float value)
minSampleShading field.public VkPipelineMultisampleStateCreateInfo.Buffer pSampleMask(@Nullable java.nio.IntBuffer value)
IntBuffer to the pSampleMask field.public VkPipelineMultisampleStateCreateInfo.Buffer alphaToCoverageEnable(boolean value)
alphaToCoverageEnable field.public VkPipelineMultisampleStateCreateInfo.Buffer alphaToOneEnable(boolean value)
alphaToOneEnable field.Copyright LWJGL. All Rights Reserved. License terms.