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 ofVkSamplerCreateInfo
structs.
-
-
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.Buffer
instance backed by the specified container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
addressModeU()
Returns the value of theaddressModeU
field.VkSamplerCreateInfo.Buffer
addressModeU(int value)
Sets the specified value to theaddressModeU
field.int
addressModeV()
Returns the value of theaddressModeV
field.VkSamplerCreateInfo.Buffer
addressModeV(int value)
Sets the specified value to theaddressModeV
field.int
addressModeW()
Returns the value of theaddressModeW
field.VkSamplerCreateInfo.Buffer
addressModeW(int value)
Sets the specified value to theaddressModeW
field.int
anisotropyEnable()
Returns the value of theanisotropyEnable
field.VkSamplerCreateInfo.Buffer
anisotropyEnable(int value)
Sets the specified value to theanisotropyEnable
field.int
borderColor()
Returns the value of theborderColor
field.VkSamplerCreateInfo.Buffer
borderColor(int value)
Sets the specified value to theborderColor
field.int
compareEnable()
Returns the value of thecompareEnable
field.VkSamplerCreateInfo.Buffer
compareEnable(int value)
Sets the specified value to thecompareEnable
field.int
compareOp()
Returns the value of thecompareOp
field.VkSamplerCreateInfo.Buffer
compareOp(int value)
Sets the specified value to thecompareOp
field.int
flags()
Returns the value of theflags
field.VkSamplerCreateInfo.Buffer
flags(int value)
Sets the specified value to theflags
field.int
magFilter()
Returns the value of themagFilter
field.VkSamplerCreateInfo.Buffer
magFilter(int value)
Sets the specified value to themagFilter
field.float
maxAnisotropy()
Returns the value of themaxAnisotropy
field.VkSamplerCreateInfo.Buffer
maxAnisotropy(float value)
Sets the specified value to themaxAnisotropy
field.float
maxLod()
Returns the value of themaxLod
field.VkSamplerCreateInfo.Buffer
maxLod(float value)
Sets the specified value to themaxLod
field.int
minFilter()
Returns the value of theminFilter
field.VkSamplerCreateInfo.Buffer
minFilter(int value)
Sets the specified value to theminFilter
field.float
minLod()
Returns the value of theminLod
field.VkSamplerCreateInfo.Buffer
minLod(float value)
Sets the specified value to theminLod
field.float
mipLodBias()
Returns the value of themipLodBias
field.VkSamplerCreateInfo.Buffer
mipLodBias(float value)
Sets the specified value to themipLodBias
field.int
mipmapMode()
Returns the value of themipmapMode
field.VkSamplerCreateInfo.Buffer
mipmapMode(int value)
Sets the specified value to themipmapMode
field.long
pNext()
Returns the value of thepNext
field.VkSamplerCreateInfo.Buffer
pNext(long value)
Sets the specified value to thepNext
field.int
sType()
Returns the value of thesType
field.VkSamplerCreateInfo.Buffer
sType(int value)
Sets the specified value to thesType
field.int
unnormalizedCoordinates()
Returns the value of theunnormalizedCoordinates
field.VkSamplerCreateInfo.Buffer
unnormalizedCoordinates(int value)
Sets the specified value to theunnormalizedCoordinates
field.-
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.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 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 thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
flags
public int flags()
Returns the value of theflags
field.
-
magFilter
public int magFilter()
Returns the value of themagFilter
field.
-
minFilter
public int minFilter()
Returns the value of theminFilter
field.
-
mipmapMode
public int mipmapMode()
Returns the value of themipmapMode
field.
-
addressModeU
public int addressModeU()
Returns the value of theaddressModeU
field.
-
addressModeV
public int addressModeV()
Returns the value of theaddressModeV
field.
-
addressModeW
public int addressModeW()
Returns the value of theaddressModeW
field.
-
mipLodBias
public float mipLodBias()
Returns the value of themipLodBias
field.
-
anisotropyEnable
public int anisotropyEnable()
Returns the value of theanisotropyEnable
field.
-
maxAnisotropy
public float maxAnisotropy()
Returns the value of themaxAnisotropy
field.
-
compareEnable
public int compareEnable()
Returns the value of thecompareEnable
field.
-
compareOp
public int compareOp()
Returns the value of thecompareOp
field.
-
minLod
public float minLod()
Returns the value of theminLod
field.
-
maxLod
public float maxLod()
Returns the value of themaxLod
field.
-
borderColor
public int borderColor()
Returns the value of theborderColor
field.
-
unnormalizedCoordinates
public int unnormalizedCoordinates()
Returns the value of theunnormalizedCoordinates
field.
-
sType
public VkSamplerCreateInfo.Buffer sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkSamplerCreateInfo.Buffer pNext(long value)
Sets the specified value to thepNext
field.
-
flags
public VkSamplerCreateInfo.Buffer flags(int value)
Sets the specified value to theflags
field.
-
magFilter
public VkSamplerCreateInfo.Buffer magFilter(int value)
Sets the specified value to themagFilter
field.
-
minFilter
public VkSamplerCreateInfo.Buffer minFilter(int value)
Sets the specified value to theminFilter
field.
-
mipmapMode
public VkSamplerCreateInfo.Buffer mipmapMode(int value)
Sets the specified value to themipmapMode
field.
-
addressModeU
public VkSamplerCreateInfo.Buffer addressModeU(int value)
Sets the specified value to theaddressModeU
field.
-
addressModeV
public VkSamplerCreateInfo.Buffer addressModeV(int value)
Sets the specified value to theaddressModeV
field.
-
addressModeW
public VkSamplerCreateInfo.Buffer addressModeW(int value)
Sets the specified value to theaddressModeW
field.
-
mipLodBias
public VkSamplerCreateInfo.Buffer mipLodBias(float value)
Sets the specified value to themipLodBias
field.
-
anisotropyEnable
public VkSamplerCreateInfo.Buffer anisotropyEnable(int value)
Sets the specified value to theanisotropyEnable
field.
-
maxAnisotropy
public VkSamplerCreateInfo.Buffer maxAnisotropy(float value)
Sets the specified value to themaxAnisotropy
field.
-
compareEnable
public VkSamplerCreateInfo.Buffer compareEnable(int value)
Sets the specified value to thecompareEnable
field.
-
compareOp
public VkSamplerCreateInfo.Buffer compareOp(int value)
Sets the specified value to thecompareOp
field.
-
minLod
public VkSamplerCreateInfo.Buffer minLod(float value)
Sets the specified value to theminLod
field.
-
maxLod
public VkSamplerCreateInfo.Buffer maxLod(float value)
Sets the specified value to themaxLod
field.
-
borderColor
public VkSamplerCreateInfo.Buffer borderColor(int value)
Sets the specified value to theborderColor
field.
-
unnormalizedCoordinates
public VkSamplerCreateInfo.Buffer unnormalizedCoordinates(int value)
Sets the specified value to theunnormalizedCoordinates
field.
-
-