Package org.lwjgl.vulkan
Class VkSamplerReductionModeCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkSamplerReductionModeCreateInfo,VkSamplerReductionModeCreateInfo.Buffer>
-
- org.lwjgl.vulkan.VkSamplerReductionModeCreateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkSamplerReductionModeCreateInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkSamplerReductionModeCreateInfoEXT.Buffer
- Enclosing class:
- VkSamplerReductionModeCreateInfo
public static class VkSamplerReductionModeCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkSamplerReductionModeCreateInfo,VkSamplerReductionModeCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkSamplerReductionModeCreateInfostructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longpNext()VkSamplerReductionModeCreateInfo.BufferpNext(long value)Sets the specified value to theVkSamplerReductionModeCreateInfo.pNext()field.intreductionMode()VkSamplerReductionModeCreateInfo.BufferreductionMode(int value)Sets the specified value to theVkSamplerReductionModeCreateInfo.reductionMode()field.intsType()VkSamplerReductionModeCreateInfo.BuffersType(int value)Sets the specified value to theVkSamplerReductionModeCreateInfo.sType()field.VkSamplerReductionModeCreateInfo.BuffersType$Default()Sets theSTRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFOvalue to theVkSamplerReductionModeCreateInfo.sType()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkSamplerReductionModeCreateInfo.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 byVkSamplerReductionModeCreateInfo.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 the
VkSamplerReductionModeCreateInfo.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkSamplerReductionModeCreateInfo.pNext()field.
-
reductionMode
public int reductionMode()
- Returns:
- the value of the
VkSamplerReductionModeCreateInfo.reductionMode()field.
-
sType
public VkSamplerReductionModeCreateInfo.Buffer sType(int value)
Sets the specified value to theVkSamplerReductionModeCreateInfo.sType()field.
-
sType$Default
public VkSamplerReductionModeCreateInfo.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFOvalue to theVkSamplerReductionModeCreateInfo.sType()field.
-
pNext
public VkSamplerReductionModeCreateInfo.Buffer pNext(long value)
Sets the specified value to theVkSamplerReductionModeCreateInfo.pNext()field.
-
reductionMode
public VkSamplerReductionModeCreateInfo.Buffer reductionMode(int value)
Sets the specified value to theVkSamplerReductionModeCreateInfo.reductionMode()field.
-
-