Package org.lwjgl.vulkan
Class VkSamplerCreateInfo.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkSamplerCreateInfo.Buffer>
org.lwjgl.system.StructBuffer<VkSamplerCreateInfo,VkSamplerCreateInfo.Buffer>
org.lwjgl.vulkan.VkSamplerCreateInfo.Buffer
- All Implemented Interfaces:
AutoCloseable,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 of
VkSamplerCreateInfo structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newVkSamplerCreateInfo.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionintaddressModeU(int value) Sets the specified value to theVkSamplerCreateInfo.addressModeU()field.intaddressModeV(int value) Sets the specified value to theVkSamplerCreateInfo.addressModeV()field.intaddressModeW(int value) Sets the specified value to theVkSamplerCreateInfo.addressModeW()field.booleananisotropyEnable(boolean value) Sets the specified value to theVkSamplerCreateInfo.anisotropyEnable()field.intborderColor(int value) Sets the specified value to theVkSamplerCreateInfo.borderColor()field.booleancompareEnable(boolean value) Sets the specified value to theVkSamplerCreateInfo.compareEnable()field.intcompareOp(int value) Sets the specified value to theVkSamplerCreateInfo.compareOp()field.intflags()flags(int value) Sets the specified value to theVkSamplerCreateInfo.flags()field.intmagFilter(int value) Sets the specified value to theVkSamplerCreateInfo.magFilter()field.floatmaxAnisotropy(float value) Sets the specified value to theVkSamplerCreateInfo.maxAnisotropy()field.floatmaxLod()maxLod(float value) Sets the specified value to theVkSamplerCreateInfo.maxLod()field.intminFilter(int value) Sets the specified value to theVkSamplerCreateInfo.minFilter()field.floatminLod()minLod(float value) Sets the specified value to theVkSamplerCreateInfo.minLod()field.floatmipLodBias(float value) Sets the specified value to theVkSamplerCreateInfo.mipLodBias()field.intmipmapMode(int value) Sets the specified value to theVkSamplerCreateInfo.mipmapMode()field.longpNext()pNext(long value) Sets the specified value to theVkSamplerCreateInfo.pNext()field.Prepends the specifiedVkOpaqueCaptureDescriptorDataCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkSamplerBlockMatchWindowCreateInfoQCOMvalue to thepNextchain.Prepends the specifiedVkSamplerBorderColorComponentMappingCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkSamplerCubicWeightsCreateInfoQCOMvalue to thepNextchain.Prepends the specifiedVkSamplerCustomBorderColorCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkSamplerReductionModeCreateInfovalue to thepNextchain.Prepends the specifiedVkSamplerReductionModeCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkSamplerYcbcrConversionInfovalue to thepNextchain.Prepends the specifiedVkSamplerYcbcrConversionInfoKHRvalue to thepNextchain.intsType()sType(int value) Sets the specified value to theVkSamplerCreateInfo.sType()field.Sets theSTRUCTURE_TYPE_SAMPLER_CREATE_INFOvalue to theVkSamplerCreateInfo.sType()field.booleanunnormalizedCoordinates(boolean value) Sets the specified value to theVkSamplerCreateInfo.unnormalizedCoordinates()field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
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 by
VkSamplerCreateInfo.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 Details
-
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
Sets the specified value to theVkSamplerCreateInfo.sType()field. -
sType$Default
Sets theSTRUCTURE_TYPE_SAMPLER_CREATE_INFOvalue to theVkSamplerCreateInfo.sType()field. -
pNext
Sets the specified value to theVkSamplerCreateInfo.pNext()field. -
pNext
Prepends the specifiedVkOpaqueCaptureDescriptorDataCreateInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkSamplerBlockMatchWindowCreateInfoQCOMvalue to thepNextchain. -
pNext
Prepends the specifiedVkSamplerBorderColorComponentMappingCreateInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkSamplerCubicWeightsCreateInfoQCOMvalue to thepNextchain. -
pNext
Prepends the specifiedVkSamplerCustomBorderColorCreateInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkSamplerReductionModeCreateInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkSamplerReductionModeCreateInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkSamplerYcbcrConversionInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkSamplerYcbcrConversionInfoKHRvalue to thepNextchain. -
flags
Sets the specified value to theVkSamplerCreateInfo.flags()field. -
magFilter
Sets the specified value to theVkSamplerCreateInfo.magFilter()field. -
minFilter
Sets the specified value to theVkSamplerCreateInfo.minFilter()field. -
mipmapMode
Sets the specified value to theVkSamplerCreateInfo.mipmapMode()field. -
addressModeU
Sets the specified value to theVkSamplerCreateInfo.addressModeU()field. -
addressModeV
Sets the specified value to theVkSamplerCreateInfo.addressModeV()field. -
addressModeW
Sets the specified value to theVkSamplerCreateInfo.addressModeW()field. -
mipLodBias
Sets the specified value to theVkSamplerCreateInfo.mipLodBias()field. -
anisotropyEnable
Sets the specified value to theVkSamplerCreateInfo.anisotropyEnable()field. -
maxAnisotropy
Sets the specified value to theVkSamplerCreateInfo.maxAnisotropy()field. -
compareEnable
Sets the specified value to theVkSamplerCreateInfo.compareEnable()field. -
compareOp
Sets the specified value to theVkSamplerCreateInfo.compareOp()field. -
minLod
Sets the specified value to theVkSamplerCreateInfo.minLod()field. -
maxLod
Sets the specified value to theVkSamplerCreateInfo.maxLod()field. -
borderColor
Sets the specified value to theVkSamplerCreateInfo.borderColor()field. -
unnormalizedCoordinates
Sets the specified value to theVkSamplerCreateInfo.unnormalizedCoordinates()field.
-