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:
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
ConstructorDescriptionBuffer
(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 theVkSamplerCreateInfo.addressModeU()
field.int
addressModeV
(int value) Sets the specified value to theVkSamplerCreateInfo.addressModeV()
field.int
addressModeW
(int value) Sets the specified value to theVkSamplerCreateInfo.addressModeW()
field.boolean
anisotropyEnable
(boolean value) Sets the specified value to theVkSamplerCreateInfo.anisotropyEnable()
field.int
borderColor
(int value) Sets the specified value to theVkSamplerCreateInfo.borderColor()
field.boolean
compareEnable
(boolean value) Sets the specified value to theVkSamplerCreateInfo.compareEnable()
field.int
compareOp
(int value) Sets the specified value to theVkSamplerCreateInfo.compareOp()
field.int
flags()
flags
(int value) Sets the specified value to theVkSamplerCreateInfo.flags()
field.int
magFilter
(int value) Sets the specified value to theVkSamplerCreateInfo.magFilter()
field.float
maxAnisotropy
(float value) Sets the specified value to theVkSamplerCreateInfo.maxAnisotropy()
field.float
maxLod()
maxLod
(float value) Sets the specified value to theVkSamplerCreateInfo.maxLod()
field.int
minFilter
(int value) Sets the specified value to theVkSamplerCreateInfo.minFilter()
field.float
minLod()
minLod
(float value) Sets the specified value to theVkSamplerCreateInfo.minLod()
field.float
mipLodBias
(float value) Sets the specified value to theVkSamplerCreateInfo.mipLodBias()
field.int
mipmapMode
(int value) Sets the specified value to theVkSamplerCreateInfo.mipmapMode()
field.long
pNext()
pNext
(long value) Sets the specified value to theVkSamplerCreateInfo.pNext()
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 theVkSamplerCreateInfo.sType()
field.Sets theSTRUCTURE_TYPE_SAMPLER_CREATE_INFO
value to theVkSamplerCreateInfo.sType()
field.boolean
unnormalizedCoordinates
(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, 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
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_INFO
value to theVkSamplerCreateInfo.sType()
field. -
pNext
Sets the specified value to theVkSamplerCreateInfo.pNext()
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 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.
-