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.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionint
addressModeU
(int value) Sets the specified value to theaddressModeU
field.int
addressModeV
(int value) Sets the specified value to theaddressModeV
field.int
addressModeW
(int value) Sets the specified value to theaddressModeW
field.boolean
anisotropyEnable
(boolean value) Sets the specified value to theanisotropyEnable
field.int
borderColor
(int value) Sets the specified value to theborderColor
field.boolean
compareEnable
(boolean value) Sets the specified value to thecompareEnable
field.int
compareOp
(int value) Sets the specified value to thecompareOp
field.int
flags()
flags
(int value) Sets the specified value to theflags
field.int
magFilter
(int value) Sets the specified value to themagFilter
field.float
maxAnisotropy
(float value) Sets the specified value to themaxAnisotropy
field.float
maxLod()
maxLod
(float value) Sets the specified value to themaxLod
field.int
minFilter
(int value) Sets the specified value to theminFilter
field.float
minLod()
minLod
(float value) Sets the specified value to theminLod
field.float
mipLodBias
(float value) Sets the specified value to themipLodBias
field.int
mipmapMode
(int value) Sets the specified value to themipmapMode
field.long
pNext()
pNext
(long value) Sets the specified value to thepNext
field.Prepends the specifiedVkOpaqueCaptureDescriptorDataCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkSamplerBlockMatchWindowCreateInfoQCOM
value to thepNext
chain.Prepends the specifiedVkSamplerBorderColorComponentMappingCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkSamplerCubicWeightsCreateInfoQCOM
value to thepNext
chain.Prepends the specifiedVkSamplerCustomBorderColorCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkSamplerReductionModeCreateInfo
value to thepNext
chain.Prepends the specifiedVkSamplerReductionModeCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkSamplerYcbcrConversionInfo
value to thepNext
chain.Prepends the specifiedVkSamplerYcbcrConversionInfoKHR
value to thepNext
chain.int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_SAMPLER_CREATE_INFO
value to thesType
field.boolean
unnormalizedCoordinates
(boolean value) Sets the specified value to theunnormalizedCoordinates
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods 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, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
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 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
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
flags
public int flags()- Returns:
- the value of the
flags
field.
-
magFilter
public int magFilter()- Returns:
- the value of the
magFilter
field.
-
minFilter
public int minFilter()- Returns:
- the value of the
minFilter
field.
-
mipmapMode
public int mipmapMode()- Returns:
- the value of the
mipmapMode
field.
-
addressModeU
public int addressModeU()- Returns:
- the value of the
addressModeU
field.
-
addressModeV
public int addressModeV()- Returns:
- the value of the
addressModeV
field.
-
addressModeW
public int addressModeW()- Returns:
- the value of the
addressModeW
field.
-
mipLodBias
public float mipLodBias()- Returns:
- the value of the
mipLodBias
field.
-
anisotropyEnable
public boolean anisotropyEnable()- Returns:
- the value of the
anisotropyEnable
field.
-
maxAnisotropy
public float maxAnisotropy()- Returns:
- the value of the
maxAnisotropy
field.
-
compareEnable
public boolean compareEnable()- Returns:
- the value of the
compareEnable
field.
-
compareOp
public int compareOp()- Returns:
- the value of the
compareOp
field.
-
minLod
public float minLod()- Returns:
- the value of the
minLod
field.
-
maxLod
public float maxLod()- Returns:
- the value of the
maxLod
field.
-
borderColor
public int borderColor()- Returns:
- the value of the
borderColor
field.
-
unnormalizedCoordinates
public boolean unnormalizedCoordinates()- Returns:
- the value of the
unnormalizedCoordinates
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_SAMPLER_CREATE_INFO
value to thesType
field. -
pNext
Sets the specified value to thepNext
field. -
pNext
Prepends the specifiedVkOpaqueCaptureDescriptorDataCreateInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkSamplerBlockMatchWindowCreateInfoQCOM
value to thepNext
chain. -
pNext
Prepends the specifiedVkSamplerBorderColorComponentMappingCreateInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkSamplerCubicWeightsCreateInfoQCOM
value to thepNext
chain. -
pNext
Prepends the specifiedVkSamplerCustomBorderColorCreateInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkSamplerReductionModeCreateInfo
value to thepNext
chain. -
pNext
Prepends the specifiedVkSamplerReductionModeCreateInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkSamplerYcbcrConversionInfo
value to thepNext
chain. -
pNext
Prepends the specifiedVkSamplerYcbcrConversionInfoKHR
value to thepNext
chain. -
flags
Sets the specified value to theflags
field. -
magFilter
Sets the specified value to themagFilter
field. -
minFilter
Sets the specified value to theminFilter
field. -
mipmapMode
Sets the specified value to themipmapMode
field. -
addressModeU
Sets the specified value to theaddressModeU
field. -
addressModeV
Sets the specified value to theaddressModeV
field. -
addressModeW
Sets the specified value to theaddressModeW
field. -
mipLodBias
Sets the specified value to themipLodBias
field. -
anisotropyEnable
Sets the specified value to theanisotropyEnable
field. -
maxAnisotropy
Sets the specified value to themaxAnisotropy
field. -
compareEnable
Sets the specified value to thecompareEnable
field. -
compareOp
Sets the specified value to thecompareOp
field. -
minLod
Sets the specified value to theminLod
field. -
maxLod
Sets the specified value to themaxLod
field. -
borderColor
Sets the specified value to theborderColor
field. -
unnormalizedCoordinates
Sets the specified value to theunnormalizedCoordinates
field.
-