Package org.lwjgl.vulkan
Class VkSamplerCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkSamplerCreateInfo,VkSamplerCreateInfo.Buffer>
-
- org.lwjgl.vulkan.VkSamplerCreateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<VkSamplerCreateInfo>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- VkSamplerCreateInfo
public static class VkSamplerCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkSamplerCreateInfo,VkSamplerCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkSamplerCreateInfo
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.boolean
anisotropyEnable()
Returns the value of theanisotropyEnable
field.VkSamplerCreateInfo.Buffer
anisotropyEnable(boolean 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.boolean
compareEnable()
Returns the value of thecompareEnable
field.VkSamplerCreateInfo.Buffer
compareEnable(boolean 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.boolean
unnormalizedCoordinates()
Returns the value of theunnormalizedCoordinates
field.VkSamplerCreateInfo.Buffer
unnormalizedCoordinates(boolean value)
Sets the specified value to theunnormalizedCoordinates
field.
-
-
-
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.
-
Buffer
public Buffer(long address, int cap)
-
-
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 boolean anisotropyEnable()
Returns the value of theanisotropyEnable
field.
-
maxAnisotropy
public float maxAnisotropy()
Returns the value of themaxAnisotropy
field.
-
compareEnable
public boolean 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 boolean 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(boolean 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(boolean 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(boolean value)
Sets the specified value to theunnormalizedCoordinates
field.
-
-