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>,NativeResource,Pointer
- Enclosing class:
VkSamplerCreateInfo
public static class VkSamplerCreateInfo.Buffer
extends StructBuffer<VkSamplerCreateInfo,VkSamplerCreateInfo.Buffer>
implements NativeResource
An array of
VkSamplerCreateInfo 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
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 theaddressModeUfield.intaddressModeV(int value) Sets the specified value to theaddressModeVfield.intaddressModeW(int value) Sets the specified value to theaddressModeWfield.booleananisotropyEnable(boolean value) Sets the specified value to theanisotropyEnablefield.intborderColor(int value) Sets the specified value to theborderColorfield.booleancompareEnable(boolean value) Sets the specified value to thecompareEnablefield.intcompareOp(int value) Sets the specified value to thecompareOpfield.intflags()flags(int value) Sets the specified value to theflagsfield.intmagFilter(int value) Sets the specified value to themagFilterfield.floatmaxAnisotropy(float value) Sets the specified value to themaxAnisotropyfield.floatmaxLod()maxLod(float value) Sets the specified value to themaxLodfield.intminFilter(int value) Sets the specified value to theminFilterfield.floatminLod()minLod(float value) Sets the specified value to theminLodfield.floatmipLodBias(float value) Sets the specified value to themipLodBiasfield.intmipmapMode(int value) Sets the specified value to themipmapModefield.longpNext()pNext(long value) Sets the specified value to thepNextfield.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 thesTypefield.Sets theSTRUCTURE_TYPE_SAMPLER_CREATE_INFOvalue to thesTypefield.booleanunnormalizedCoordinates(boolean value) Sets the specified value to theunnormalizedCoordinatesfield.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
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
flags
public int flags()- Returns:
- the value of the
flagsfield.
-
magFilter
public int magFilter()- Returns:
- the value of the
magFilterfield.
-
minFilter
public int minFilter()- Returns:
- the value of the
minFilterfield.
-
mipmapMode
public int mipmapMode()- Returns:
- the value of the
mipmapModefield.
-
addressModeU
public int addressModeU()- Returns:
- the value of the
addressModeUfield.
-
addressModeV
public int addressModeV()- Returns:
- the value of the
addressModeVfield.
-
addressModeW
public int addressModeW()- Returns:
- the value of the
addressModeWfield.
-
mipLodBias
public float mipLodBias()- Returns:
- the value of the
mipLodBiasfield.
-
anisotropyEnable
public boolean anisotropyEnable()- Returns:
- the value of the
anisotropyEnablefield.
-
maxAnisotropy
public float maxAnisotropy()- Returns:
- the value of the
maxAnisotropyfield.
-
compareEnable
public boolean compareEnable()- Returns:
- the value of the
compareEnablefield.
-
compareOp
public int compareOp()- Returns:
- the value of the
compareOpfield.
-
minLod
public float minLod()- Returns:
- the value of the
minLodfield.
-
maxLod
public float maxLod()- Returns:
- the value of the
maxLodfield.
-
borderColor
public int borderColor()- Returns:
- the value of the
borderColorfield.
-
unnormalizedCoordinates
public boolean unnormalizedCoordinates()- Returns:
- the value of the
unnormalizedCoordinatesfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_SAMPLER_CREATE_INFOvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
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 theflagsfield. -
magFilter
Sets the specified value to themagFilterfield. -
minFilter
Sets the specified value to theminFilterfield. -
mipmapMode
Sets the specified value to themipmapModefield. -
addressModeU
Sets the specified value to theaddressModeUfield. -
addressModeV
Sets the specified value to theaddressModeVfield. -
addressModeW
Sets the specified value to theaddressModeWfield. -
mipLodBias
Sets the specified value to themipLodBiasfield. -
anisotropyEnable
Sets the specified value to theanisotropyEnablefield. -
maxAnisotropy
Sets the specified value to themaxAnisotropyfield. -
compareEnable
Sets the specified value to thecompareEnablefield. -
compareOp
Sets the specified value to thecompareOpfield. -
minLod
Sets the specified value to theminLodfield. -
maxLod
Sets the specified value to themaxLodfield. -
borderColor
Sets the specified value to theborderColorfield. -
unnormalizedCoordinates
Sets the specified value to theunnormalizedCoordinatesfield.
-