Class VkSamplerCreateInfo.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new 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.

      • Buffer

        public Buffer​(long address,
                      int cap)
    • Method Detail

      • 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.
      • addressModeU

        public VkSamplerCreateInfo.Buffer addressModeU​(int value)
        Sets the specified value to the addressModeU field.
      • addressModeV

        public VkSamplerCreateInfo.Buffer addressModeV​(int value)
        Sets the specified value to the addressModeV field.
      • addressModeW

        public VkSamplerCreateInfo.Buffer addressModeW​(int value)
        Sets the specified value to the addressModeW field.
      • anisotropyEnable

        public VkSamplerCreateInfo.Buffer anisotropyEnable​(boolean value)
        Sets the specified value to the anisotropyEnable field.
      • maxAnisotropy

        public VkSamplerCreateInfo.Buffer maxAnisotropy​(float value)
        Sets the specified value to the maxAnisotropy field.
      • compareEnable

        public VkSamplerCreateInfo.Buffer compareEnable​(boolean value)
        Sets the specified value to the compareEnable field.
      • unnormalizedCoordinates

        public VkSamplerCreateInfo.Buffer unnormalizedCoordinates​(boolean value)
        Sets the specified value to the unnormalizedCoordinates field.