Package org.lwjgl.vulkan
Class VkSamplerCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.StructBuffer<VkSamplerCreateInfo,VkSamplerCreateInfo.Buffer>
-
- org.lwjgl.vulkan.VkSamplerCreateInfo.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- VkSamplerCreateInfo
public static final class VkSamplerCreateInfo.Buffer extends StructBuffer<VkSamplerCreateInfo,VkSamplerCreateInfo.Buffer>
An array ofVkSamplerCreateInfostructs.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)Creates a newVkSamplerCreateInfo.Bufferinstance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intaddressModeU()Returns the value of theaddressModeUfield.VkSamplerCreateInfo.BufferaddressModeU(int value)Sets the specified value to theaddressModeUfield.intaddressModeV()Returns the value of theaddressModeVfield.VkSamplerCreateInfo.BufferaddressModeV(int value)Sets the specified value to theaddressModeVfield.intaddressModeW()Returns the value of theaddressModeWfield.VkSamplerCreateInfo.BufferaddressModeW(int value)Sets the specified value to theaddressModeWfield.intanisotropyEnable()Returns the value of theanisotropyEnablefield.VkSamplerCreateInfo.BufferanisotropyEnable(int value)Sets the specified value to theanisotropyEnablefield.intborderColor()Returns the value of theborderColorfield.VkSamplerCreateInfo.BufferborderColor(int value)Sets the specified value to theborderColorfield.intcompareEnable()Returns the value of thecompareEnablefield.VkSamplerCreateInfo.BuffercompareEnable(int value)Sets the specified value to thecompareEnablefield.intcompareOp()Returns the value of thecompareOpfield.VkSamplerCreateInfo.BuffercompareOp(int value)Sets the specified value to thecompareOpfield.intflags()Returns the value of theflagsfield.VkSamplerCreateInfo.Bufferflags(int value)Sets the specified value to theflagsfield.intmagFilter()Returns the value of themagFilterfield.VkSamplerCreateInfo.BuffermagFilter(int value)Sets the specified value to themagFilterfield.floatmaxAnisotropy()Returns the value of themaxAnisotropyfield.VkSamplerCreateInfo.BuffermaxAnisotropy(float value)Sets the specified value to themaxAnisotropyfield.floatmaxLod()Returns the value of themaxLodfield.VkSamplerCreateInfo.BuffermaxLod(float value)Sets the specified value to themaxLodfield.intminFilter()Returns the value of theminFilterfield.VkSamplerCreateInfo.BufferminFilter(int value)Sets the specified value to theminFilterfield.floatminLod()Returns the value of theminLodfield.VkSamplerCreateInfo.BufferminLod(float value)Sets the specified value to theminLodfield.floatmipLodBias()Returns the value of themipLodBiasfield.VkSamplerCreateInfo.BuffermipLodBias(float value)Sets the specified value to themipLodBiasfield.intmipmapMode()Returns the value of themipmapModefield.VkSamplerCreateInfo.BuffermipmapMode(int value)Sets the specified value to themipmapModefield.longpNext()Returns the value of thepNextfield.VkSamplerCreateInfo.BufferpNext(long value)Sets the specified value to thepNextfield.intsType()Returns the value of thesTypefield.VkSamplerCreateInfo.BuffersType(int value)Sets the specified value to thesTypefield.intunnormalizedCoordinates()Returns the value of theunnormalizedCoordinatesfield.VkSamplerCreateInfo.BufferunnormalizedCoordinates(int value)Sets the specified value to theunnormalizedCoordinatesfield.-
Methods inherited from class org.lwjgl.system.StructBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, get, get, get, get, hasRemaining, limit, limit, mark, position, position, put, put, put, remaining, reset, rewind, slice, slice, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkSamplerCreateInfo.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 byVkSamplerCreateInfo.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
-
Method Detail
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
flags
public int flags()
Returns the value of theflagsfield.
-
magFilter
public int magFilter()
Returns the value of themagFilterfield.
-
minFilter
public int minFilter()
Returns the value of theminFilterfield.
-
mipmapMode
public int mipmapMode()
Returns the value of themipmapModefield.
-
addressModeU
public int addressModeU()
Returns the value of theaddressModeUfield.
-
addressModeV
public int addressModeV()
Returns the value of theaddressModeVfield.
-
addressModeW
public int addressModeW()
Returns the value of theaddressModeWfield.
-
mipLodBias
public float mipLodBias()
Returns the value of themipLodBiasfield.
-
anisotropyEnable
public int anisotropyEnable()
Returns the value of theanisotropyEnablefield.
-
maxAnisotropy
public float maxAnisotropy()
Returns the value of themaxAnisotropyfield.
-
compareEnable
public int compareEnable()
Returns the value of thecompareEnablefield.
-
compareOp
public int compareOp()
Returns the value of thecompareOpfield.
-
minLod
public float minLod()
Returns the value of theminLodfield.
-
maxLod
public float maxLod()
Returns the value of themaxLodfield.
-
borderColor
public int borderColor()
Returns the value of theborderColorfield.
-
unnormalizedCoordinates
public int unnormalizedCoordinates()
Returns the value of theunnormalizedCoordinatesfield.
-
sType
public VkSamplerCreateInfo.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkSamplerCreateInfo.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
flags
public VkSamplerCreateInfo.Buffer flags(int value)
Sets the specified value to theflagsfield.
-
magFilter
public VkSamplerCreateInfo.Buffer magFilter(int value)
Sets the specified value to themagFilterfield.
-
minFilter
public VkSamplerCreateInfo.Buffer minFilter(int value)
Sets the specified value to theminFilterfield.
-
mipmapMode
public VkSamplerCreateInfo.Buffer mipmapMode(int value)
Sets the specified value to themipmapModefield.
-
addressModeU
public VkSamplerCreateInfo.Buffer addressModeU(int value)
Sets the specified value to theaddressModeUfield.
-
addressModeV
public VkSamplerCreateInfo.Buffer addressModeV(int value)
Sets the specified value to theaddressModeVfield.
-
addressModeW
public VkSamplerCreateInfo.Buffer addressModeW(int value)
Sets the specified value to theaddressModeWfield.
-
mipLodBias
public VkSamplerCreateInfo.Buffer mipLodBias(float value)
Sets the specified value to themipLodBiasfield.
-
anisotropyEnable
public VkSamplerCreateInfo.Buffer anisotropyEnable(int value)
Sets the specified value to theanisotropyEnablefield.
-
maxAnisotropy
public VkSamplerCreateInfo.Buffer maxAnisotropy(float value)
Sets the specified value to themaxAnisotropyfield.
-
compareEnable
public VkSamplerCreateInfo.Buffer compareEnable(int value)
Sets the specified value to thecompareEnablefield.
-
compareOp
public VkSamplerCreateInfo.Buffer compareOp(int value)
Sets the specified value to thecompareOpfield.
-
minLod
public VkSamplerCreateInfo.Buffer minLod(float value)
Sets the specified value to theminLodfield.
-
maxLod
public VkSamplerCreateInfo.Buffer maxLod(float value)
Sets the specified value to themaxLodfield.
-
borderColor
public VkSamplerCreateInfo.Buffer borderColor(int value)
Sets the specified value to theborderColorfield.
-
unnormalizedCoordinates
public VkSamplerCreateInfo.Buffer unnormalizedCoordinates(int value)
Sets the specified value to theunnormalizedCoordinatesfield.
-
-