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 ofVkSamplerCreateInfostructs.
-
-
Method Summary
-
-
-
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.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
sType
public int sType()
- Returns:
- the value of the
VkSamplerCreateInfo.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkSamplerCreateInfo.pNext()field.
-
flags
public int flags()
- Returns:
- the value of the
VkSamplerCreateInfo.flags()field.
-
magFilter
public int magFilter()
- Returns:
- the value of the
VkSamplerCreateInfo.magFilter()field.
-
minFilter
public int minFilter()
- Returns:
- the value of the
VkSamplerCreateInfo.minFilter()field.
-
mipmapMode
public int mipmapMode()
- Returns:
- the value of the
VkSamplerCreateInfo.mipmapMode()field.
-
addressModeU
public int addressModeU()
- Returns:
- the value of the
VkSamplerCreateInfo.addressModeU()field.
-
addressModeV
public int addressModeV()
- Returns:
- the value of the
VkSamplerCreateInfo.addressModeV()field.
-
addressModeW
public int addressModeW()
- Returns:
- the value of the
VkSamplerCreateInfo.addressModeW()field.
-
mipLodBias
public float mipLodBias()
- Returns:
- the value of the
VkSamplerCreateInfo.mipLodBias()field.
-
anisotropyEnable
public boolean anisotropyEnable()
- Returns:
- the value of the
VkSamplerCreateInfo.anisotropyEnable()field.
-
maxAnisotropy
public float maxAnisotropy()
- Returns:
- the value of the
VkSamplerCreateInfo.maxAnisotropy()field.
-
compareEnable
public boolean compareEnable()
- Returns:
- the value of the
VkSamplerCreateInfo.compareEnable()field.
-
compareOp
public int compareOp()
- Returns:
- the value of the
VkSamplerCreateInfo.compareOp()field.
-
minLod
public float minLod()
- Returns:
- the value of the
VkSamplerCreateInfo.minLod()field.
-
maxLod
public float maxLod()
- Returns:
- the value of the
VkSamplerCreateInfo.maxLod()field.
-
borderColor
public int borderColor()
- Returns:
- the value of the
VkSamplerCreateInfo.borderColor()field.
-
unnormalizedCoordinates
public boolean unnormalizedCoordinates()
- Returns:
- the value of the
VkSamplerCreateInfo.unnormalizedCoordinates()field.
-
sType
public VkSamplerCreateInfo.Buffer sType(int value)
Sets the specified value to theVkSamplerCreateInfo.sType()field.
-
sType$Default
public VkSamplerCreateInfo.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_SAMPLER_CREATE_INFOvalue to theVkSamplerCreateInfo.sType()field.
-
pNext
public VkSamplerCreateInfo.Buffer pNext(long value)
Sets the specified value to theVkSamplerCreateInfo.pNext()field.
-
pNext
public VkSamplerCreateInfo.Buffer pNext(VkSamplerBorderColorComponentMappingCreateInfoEXT value)
Prepends the specifiedVkSamplerBorderColorComponentMappingCreateInfoEXTvalue to thepNextchain.
-
pNext
public VkSamplerCreateInfo.Buffer pNext(VkSamplerCustomBorderColorCreateInfoEXT value)
Prepends the specifiedVkSamplerCustomBorderColorCreateInfoEXTvalue to thepNextchain.
-
pNext
public VkSamplerCreateInfo.Buffer pNext(VkSamplerReductionModeCreateInfo value)
Prepends the specifiedVkSamplerReductionModeCreateInfovalue to thepNextchain.
-
pNext
public VkSamplerCreateInfo.Buffer pNext(VkSamplerReductionModeCreateInfoEXT value)
Prepends the specifiedVkSamplerReductionModeCreateInfoEXTvalue to thepNextchain.
-
pNext
public VkSamplerCreateInfo.Buffer pNext(VkSamplerYcbcrConversionInfo value)
Prepends the specifiedVkSamplerYcbcrConversionInfovalue to thepNextchain.
-
pNext
public VkSamplerCreateInfo.Buffer pNext(VkSamplerYcbcrConversionInfoKHR value)
Prepends the specifiedVkSamplerYcbcrConversionInfoKHRvalue to thepNextchain.
-
flags
public VkSamplerCreateInfo.Buffer flags(int value)
Sets the specified value to theVkSamplerCreateInfo.flags()field.
-
magFilter
public VkSamplerCreateInfo.Buffer magFilter(int value)
Sets the specified value to theVkSamplerCreateInfo.magFilter()field.
-
minFilter
public VkSamplerCreateInfo.Buffer minFilter(int value)
Sets the specified value to theVkSamplerCreateInfo.minFilter()field.
-
mipmapMode
public VkSamplerCreateInfo.Buffer mipmapMode(int value)
Sets the specified value to theVkSamplerCreateInfo.mipmapMode()field.
-
addressModeU
public VkSamplerCreateInfo.Buffer addressModeU(int value)
Sets the specified value to theVkSamplerCreateInfo.addressModeU()field.
-
addressModeV
public VkSamplerCreateInfo.Buffer addressModeV(int value)
Sets the specified value to theVkSamplerCreateInfo.addressModeV()field.
-
addressModeW
public VkSamplerCreateInfo.Buffer addressModeW(int value)
Sets the specified value to theVkSamplerCreateInfo.addressModeW()field.
-
mipLodBias
public VkSamplerCreateInfo.Buffer mipLodBias(float value)
Sets the specified value to theVkSamplerCreateInfo.mipLodBias()field.
-
anisotropyEnable
public VkSamplerCreateInfo.Buffer anisotropyEnable(boolean value)
Sets the specified value to theVkSamplerCreateInfo.anisotropyEnable()field.
-
maxAnisotropy
public VkSamplerCreateInfo.Buffer maxAnisotropy(float value)
Sets the specified value to theVkSamplerCreateInfo.maxAnisotropy()field.
-
compareEnable
public VkSamplerCreateInfo.Buffer compareEnable(boolean value)
Sets the specified value to theVkSamplerCreateInfo.compareEnable()field.
-
compareOp
public VkSamplerCreateInfo.Buffer compareOp(int value)
Sets the specified value to theVkSamplerCreateInfo.compareOp()field.
-
minLod
public VkSamplerCreateInfo.Buffer minLod(float value)
Sets the specified value to theVkSamplerCreateInfo.minLod()field.
-
maxLod
public VkSamplerCreateInfo.Buffer maxLod(float value)
Sets the specified value to theVkSamplerCreateInfo.maxLod()field.
-
borderColor
public VkSamplerCreateInfo.Buffer borderColor(int value)
Sets the specified value to theVkSamplerCreateInfo.borderColor()field.
-
unnormalizedCoordinates
public VkSamplerCreateInfo.Buffer unnormalizedCoordinates(boolean value)
Sets the specified value to theVkSamplerCreateInfo.unnormalizedCoordinates()field.
-
-