public static class VkPipelineRasterizationStateCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkPipelineRasterizationStateCreateInfo,VkPipelineRasterizationStateCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
VkPipelineRasterizationStateCreateInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkPipelineRasterizationStateCreateInfo.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
cullMode()
Returns the value of the
cullMode field. |
VkPipelineRasterizationStateCreateInfo.Buffer |
cullMode(int value)
Sets the specified value to the
cullMode field. |
float |
depthBiasClamp()
Returns the value of the
depthBiasClamp field. |
VkPipelineRasterizationStateCreateInfo.Buffer |
depthBiasClamp(float value)
Sets the specified value to the
depthBiasClamp field. |
float |
depthBiasConstantFactor()
Returns the value of the
depthBiasConstantFactor field. |
VkPipelineRasterizationStateCreateInfo.Buffer |
depthBiasConstantFactor(float value)
Sets the specified value to the
depthBiasConstantFactor field. |
boolean |
depthBiasEnable()
Returns the value of the
depthBiasEnable field. |
VkPipelineRasterizationStateCreateInfo.Buffer |
depthBiasEnable(boolean value)
Sets the specified value to the
depthBiasEnable field. |
float |
depthBiasSlopeFactor()
Returns the value of the
depthBiasSlopeFactor field. |
VkPipelineRasterizationStateCreateInfo.Buffer |
depthBiasSlopeFactor(float value)
Sets the specified value to the
depthBiasSlopeFactor field. |
boolean |
depthClampEnable()
Returns the value of the
depthClampEnable field. |
VkPipelineRasterizationStateCreateInfo.Buffer |
depthClampEnable(boolean value)
Sets the specified value to the
depthClampEnable field. |
int |
flags()
Returns the value of the
flags field. |
VkPipelineRasterizationStateCreateInfo.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
int |
frontFace()
Returns the value of the
frontFace field. |
VkPipelineRasterizationStateCreateInfo.Buffer |
frontFace(int value)
Sets the specified value to the
frontFace field. |
float |
lineWidth()
Returns the value of the
lineWidth field. |
VkPipelineRasterizationStateCreateInfo.Buffer |
lineWidth(float value)
Sets the specified value to the
lineWidth field. |
long |
pNext()
Returns the value of the
pNext field. |
VkPipelineRasterizationStateCreateInfo.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
polygonMode()
Returns the value of the
polygonMode field. |
VkPipelineRasterizationStateCreateInfo.Buffer |
polygonMode(int value)
Sets the specified value to the
polygonMode field. |
boolean |
rasterizerDiscardEnable()
Returns the value of the
rasterizerDiscardEnable field. |
VkPipelineRasterizationStateCreateInfo.Buffer |
rasterizerDiscardEnable(boolean value)
Sets the specified value to the
rasterizerDiscardEnable field. |
int |
sType()
Returns the value of the
sType field. |
VkPipelineRasterizationStateCreateInfo.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)
VkPipelineRasterizationStateCreateInfo.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 VkPipelineRasterizationStateCreateInfo.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 boolean depthClampEnable()
depthClampEnable field.public boolean rasterizerDiscardEnable()
rasterizerDiscardEnable field.public int polygonMode()
polygonMode field.public int cullMode()
cullMode field.public int frontFace()
frontFace field.public boolean depthBiasEnable()
depthBiasEnable field.public float depthBiasConstantFactor()
depthBiasConstantFactor field.public float depthBiasClamp()
depthBiasClamp field.public float depthBiasSlopeFactor()
depthBiasSlopeFactor field.public float lineWidth()
lineWidth field.public VkPipelineRasterizationStateCreateInfo.Buffer sType(int value)
sType field.public VkPipelineRasterizationStateCreateInfo.Buffer pNext(long value)
pNext field.public VkPipelineRasterizationStateCreateInfo.Buffer flags(int value)
flags field.public VkPipelineRasterizationStateCreateInfo.Buffer depthClampEnable(boolean value)
depthClampEnable field.public VkPipelineRasterizationStateCreateInfo.Buffer rasterizerDiscardEnable(boolean value)
rasterizerDiscardEnable field.public VkPipelineRasterizationStateCreateInfo.Buffer polygonMode(int value)
polygonMode field.public VkPipelineRasterizationStateCreateInfo.Buffer cullMode(int value)
cullMode field.public VkPipelineRasterizationStateCreateInfo.Buffer frontFace(int value)
frontFace field.public VkPipelineRasterizationStateCreateInfo.Buffer depthBiasEnable(boolean value)
depthBiasEnable field.public VkPipelineRasterizationStateCreateInfo.Buffer depthBiasConstantFactor(float value)
depthBiasConstantFactor field.public VkPipelineRasterizationStateCreateInfo.Buffer depthBiasClamp(float value)
depthBiasClamp field.public VkPipelineRasterizationStateCreateInfo.Buffer depthBiasSlopeFactor(float value)
depthBiasSlopeFactor field.public VkPipelineRasterizationStateCreateInfo.Buffer lineWidth(float value)
lineWidth field.Copyright LWJGL. All Rights Reserved. License terms.