public static class VkSamplerCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkSamplerCreateInfo,VkSamplerCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
VkSamplerCreateInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkSamplerCreateInfo.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
addressModeU()
Returns the value of the
addressModeU field. |
VkSamplerCreateInfo.Buffer |
addressModeU(int value)
Sets the specified value to the
addressModeU field. |
int |
addressModeV()
Returns the value of the
addressModeV field. |
VkSamplerCreateInfo.Buffer |
addressModeV(int value)
Sets the specified value to the
addressModeV field. |
int |
addressModeW()
Returns the value of the
addressModeW field. |
VkSamplerCreateInfo.Buffer |
addressModeW(int value)
Sets the specified value to the
addressModeW field. |
boolean |
anisotropyEnable()
Returns the value of the
anisotropyEnable field. |
VkSamplerCreateInfo.Buffer |
anisotropyEnable(boolean value)
Sets the specified value to the
anisotropyEnable field. |
int |
borderColor()
Returns the value of the
borderColor field. |
VkSamplerCreateInfo.Buffer |
borderColor(int value)
Sets the specified value to the
borderColor field. |
boolean |
compareEnable()
Returns the value of the
compareEnable field. |
VkSamplerCreateInfo.Buffer |
compareEnable(boolean value)
Sets the specified value to the
compareEnable field. |
int |
compareOp()
Returns the value of the
compareOp field. |
VkSamplerCreateInfo.Buffer |
compareOp(int value)
Sets the specified value to the
compareOp field. |
int |
flags()
Returns the value of the
flags field. |
VkSamplerCreateInfo.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
int |
magFilter()
Returns the value of the
magFilter field. |
VkSamplerCreateInfo.Buffer |
magFilter(int value)
Sets the specified value to the
magFilter field. |
float |
maxAnisotropy()
Returns the value of the
maxAnisotropy field. |
VkSamplerCreateInfo.Buffer |
maxAnisotropy(float value)
Sets the specified value to the
maxAnisotropy field. |
float |
maxLod()
Returns the value of the
maxLod field. |
VkSamplerCreateInfo.Buffer |
maxLod(float value)
Sets the specified value to the
maxLod field. |
int |
minFilter()
Returns the value of the
minFilter field. |
VkSamplerCreateInfo.Buffer |
minFilter(int value)
Sets the specified value to the
minFilter field. |
float |
minLod()
Returns the value of the
minLod field. |
VkSamplerCreateInfo.Buffer |
minLod(float value)
Sets the specified value to the
minLod field. |
float |
mipLodBias()
Returns the value of the
mipLodBias field. |
VkSamplerCreateInfo.Buffer |
mipLodBias(float value)
Sets the specified value to the
mipLodBias field. |
int |
mipmapMode()
Returns the value of the
mipmapMode field. |
VkSamplerCreateInfo.Buffer |
mipmapMode(int value)
Sets the specified value to the
mipmapMode field. |
long |
pNext()
Returns the value of the
pNext field. |
VkSamplerCreateInfo.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
sType()
Returns the value of the
sType field. |
VkSamplerCreateInfo.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
boolean |
unnormalizedCoordinates()
Returns the value of the
unnormalizedCoordinates field. |
VkSamplerCreateInfo.Buffer |
unnormalizedCoordinates(boolean value)
Sets the specified value to the
unnormalizedCoordinates field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkSamplerCreateInfo.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.
public Buffer(long address,
int cap)
public int sType()
sType field.public long pNext()
pNext field.public int flags()
flags field.public int magFilter()
magFilter field.public int minFilter()
minFilter field.public int mipmapMode()
mipmapMode field.public int addressModeU()
addressModeU field.public int addressModeV()
addressModeV field.public int addressModeW()
addressModeW field.public float mipLodBias()
mipLodBias field.public boolean anisotropyEnable()
anisotropyEnable field.public float maxAnisotropy()
maxAnisotropy field.public boolean compareEnable()
compareEnable field.public int compareOp()
compareOp field.public float minLod()
minLod field.public float maxLod()
maxLod field.public int borderColor()
borderColor field.public boolean unnormalizedCoordinates()
unnormalizedCoordinates field.public VkSamplerCreateInfo.Buffer sType(int value)
sType field.public VkSamplerCreateInfo.Buffer pNext(long value)
pNext field.public VkSamplerCreateInfo.Buffer flags(int value)
flags field.public VkSamplerCreateInfo.Buffer magFilter(int value)
magFilter field.public VkSamplerCreateInfo.Buffer minFilter(int value)
minFilter field.public VkSamplerCreateInfo.Buffer mipmapMode(int value)
mipmapMode field.public VkSamplerCreateInfo.Buffer addressModeU(int value)
addressModeU field.public VkSamplerCreateInfo.Buffer addressModeV(int value)
addressModeV field.public VkSamplerCreateInfo.Buffer addressModeW(int value)
addressModeW field.public VkSamplerCreateInfo.Buffer mipLodBias(float value)
mipLodBias field.public VkSamplerCreateInfo.Buffer anisotropyEnable(boolean value)
anisotropyEnable field.public VkSamplerCreateInfo.Buffer maxAnisotropy(float value)
maxAnisotropy field.public VkSamplerCreateInfo.Buffer compareEnable(boolean value)
compareEnable field.public VkSamplerCreateInfo.Buffer compareOp(int value)
compareOp field.public VkSamplerCreateInfo.Buffer minLod(float value)
minLod field.public VkSamplerCreateInfo.Buffer maxLod(float value)
maxLod field.public VkSamplerCreateInfo.Buffer borderColor(int value)
borderColor field.public VkSamplerCreateInfo.Buffer unnormalizedCoordinates(boolean value)
unnormalizedCoordinates field.Copyright LWJGL. All Rights Reserved. License terms.