Package org.lwjgl.vulkan
Class VkPipelineViewportShadingRateImageStateCreateInfoNV.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkPipelineViewportShadingRateImageStateCreateInfoNV,VkPipelineViewportShadingRateImageStateCreateInfoNV.Buffer>
-
- org.lwjgl.vulkan.VkPipelineViewportShadingRateImageStateCreateInfoNV.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkPipelineViewportShadingRateImageStateCreateInfoNV>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkPipelineViewportShadingRateImageStateCreateInfoNV
public static class VkPipelineViewportShadingRateImageStateCreateInfoNV.Buffer extends org.lwjgl.system.StructBuffer<VkPipelineViewportShadingRateImageStateCreateInfoNV,VkPipelineViewportShadingRateImageStateCreateInfoNV.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkPipelineViewportShadingRateImageStateCreateInfoNVstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longpNext()Returns the value of thepNextfield.VkPipelineViewportShadingRateImageStateCreateInfoNV.BufferpNext(long value)Sets the specified value to thepNextfield.VkShadingRatePaletteNV.BufferpShadingRatePalettes()Returns aVkShadingRatePaletteNV.Bufferview of the struct array pointed to by thepShadingRatePalettesfield.VkPipelineViewportShadingRateImageStateCreateInfoNV.BufferpShadingRatePalettes(VkShadingRatePaletteNV.Buffer value)Sets the address of the specifiedVkShadingRatePaletteNV.Bufferto thepShadingRatePalettesfield.booleanshadingRateImageEnable()Returns the value of theshadingRateImageEnablefield.VkPipelineViewportShadingRateImageStateCreateInfoNV.BuffershadingRateImageEnable(boolean value)Sets the specified value to theshadingRateImageEnablefield.intsType()Returns the value of thesTypefield.VkPipelineViewportShadingRateImageStateCreateInfoNV.BuffersType(int value)Sets the specified value to thesTypefield.intviewportCount()Returns the value of theviewportCountfield.VkPipelineViewportShadingRateImageStateCreateInfoNV.BufferviewportCount(int value)Sets the specified value to theviewportCountfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkPipelineViewportShadingRateImageStateCreateInfoNV.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 byVkPipelineViewportShadingRateImageStateCreateInfoNV.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 thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
shadingRateImageEnable
public boolean shadingRateImageEnable()
Returns the value of theshadingRateImageEnablefield.
-
viewportCount
public int viewportCount()
Returns the value of theviewportCountfield.
-
pShadingRatePalettes
@Nullable public VkShadingRatePaletteNV.Buffer pShadingRatePalettes()
Returns aVkShadingRatePaletteNV.Bufferview of the struct array pointed to by thepShadingRatePalettesfield.
-
sType
public VkPipelineViewportShadingRateImageStateCreateInfoNV.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPipelineViewportShadingRateImageStateCreateInfoNV.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
shadingRateImageEnable
public VkPipelineViewportShadingRateImageStateCreateInfoNV.Buffer shadingRateImageEnable(boolean value)
Sets the specified value to theshadingRateImageEnablefield.
-
viewportCount
public VkPipelineViewportShadingRateImageStateCreateInfoNV.Buffer viewportCount(int value)
Sets the specified value to theviewportCountfield.
-
pShadingRatePalettes
public VkPipelineViewportShadingRateImageStateCreateInfoNV.Buffer pShadingRatePalettes(@Nullable VkShadingRatePaletteNV.Buffer value)
Sets the address of the specifiedVkShadingRatePaletteNV.Bufferto thepShadingRatePalettesfield.
-
-