Package org.lwjgl.vulkan
Class VkPipelineMultisampleStateCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkPipelineMultisampleStateCreateInfo,VkPipelineMultisampleStateCreateInfo.Buffer>
-
- org.lwjgl.vulkan.VkPipelineMultisampleStateCreateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<VkPipelineMultisampleStateCreateInfo>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- VkPipelineMultisampleStateCreateInfo
public static class VkPipelineMultisampleStateCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkPipelineMultisampleStateCreateInfo,VkPipelineMultisampleStateCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkPipelineMultisampleStateCreateInfo
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
alphaToCoverageEnable()
Returns the value of thealphaToCoverageEnable
field.VkPipelineMultisampleStateCreateInfo.Buffer
alphaToCoverageEnable(boolean value)
Sets the specified value to thealphaToCoverageEnable
field.boolean
alphaToOneEnable()
Returns the value of thealphaToOneEnable
field.VkPipelineMultisampleStateCreateInfo.Buffer
alphaToOneEnable(boolean 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.boolean
sampleShadingEnable()
Returns the value of thesampleShadingEnable
field.VkPipelineMultisampleStateCreateInfo.Buffer
sampleShadingEnable(boolean 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.
-
-
-
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.
-
Buffer
public Buffer(long address, int cap)
-
-
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 boolean sampleShadingEnable()
Returns the value of thesampleShadingEnable
field.
-
minSampleShading
public float minSampleShading()
Returns the value of theminSampleShading
field.
-
pSampleMask
@Nullable 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 boolean alphaToCoverageEnable()
Returns the value of thealphaToCoverageEnable
field.
-
alphaToOneEnable
public boolean 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(boolean 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(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepSampleMask
field.
-
alphaToCoverageEnable
public VkPipelineMultisampleStateCreateInfo.Buffer alphaToCoverageEnable(boolean value)
Sets the specified value to thealphaToCoverageEnable
field.
-
alphaToOneEnable
public VkPipelineMultisampleStateCreateInfo.Buffer alphaToOneEnable(boolean value)
Sets the specified value to thealphaToOneEnable
field.
-
-