Class VkSamplerCreateInfo

    • Field Detail

      • SIZEOF

        public static final int SIZEOF
        The struct size in bytes.
    • Constructor Detail

      • VkSamplerCreateInfo

        public VkSamplerCreateInfo(java.nio.ByteBuffer container)
        Creates a VkSamplerCreateInfo instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.

    • Method Detail

      • sizeof

        public int sizeof()
        Description copied from class: Struct
        Returns the sizeof(struct).
        Specified by:
        sizeof in class Struct
      • 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 int anisotropyEnable()
        Returns the value of the anisotropyEnable field.
      • maxAnisotropy

        public float maxAnisotropy()
        Returns the value of the maxAnisotropy field.
      • compareEnable

        public int 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 int unnormalizedCoordinates()
        Returns the value of the unnormalizedCoordinates field.
      • sType

        public VkSamplerCreateInfo sType(int value)
        Sets the specified value to the sType field.
      • pNext

        public VkSamplerCreateInfo pNext(long value)
        Sets the specified value to the pNext field.
      • flags

        public VkSamplerCreateInfo flags(int value)
        Sets the specified value to the flags field.
      • magFilter

        public VkSamplerCreateInfo magFilter(int value)
        Sets the specified value to the magFilter field.
      • minFilter

        public VkSamplerCreateInfo minFilter(int value)
        Sets the specified value to the minFilter field.
      • mipmapMode

        public VkSamplerCreateInfo mipmapMode(int value)
        Sets the specified value to the mipmapMode field.
      • addressModeU

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

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

        public VkSamplerCreateInfo addressModeW(int value)
        Sets the specified value to the addressModeW field.
      • mipLodBias

        public VkSamplerCreateInfo mipLodBias(float value)
        Sets the specified value to the mipLodBias field.
      • anisotropyEnable

        public VkSamplerCreateInfo anisotropyEnable(int value)
        Sets the specified value to the anisotropyEnable field.
      • maxAnisotropy

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

        public VkSamplerCreateInfo compareEnable(int value)
        Sets the specified value to the compareEnable field.
      • compareOp

        public VkSamplerCreateInfo compareOp(int value)
        Sets the specified value to the compareOp field.
      • minLod

        public VkSamplerCreateInfo minLod(float value)
        Sets the specified value to the minLod field.
      • maxLod

        public VkSamplerCreateInfo maxLod(float value)
        Sets the specified value to the maxLod field.
      • borderColor

        public VkSamplerCreateInfo borderColor(int value)
        Sets the specified value to the borderColor field.
      • unnormalizedCoordinates

        public VkSamplerCreateInfo unnormalizedCoordinates(int value)
        Sets the specified value to the unnormalizedCoordinates field.
      • set

        public VkSamplerCreateInfo set(int sType,
                                       long pNext,
                                       int flags,
                                       int magFilter,
                                       int minFilter,
                                       int mipmapMode,
                                       int addressModeU,
                                       int addressModeV,
                                       int addressModeW,
                                       float mipLodBias,
                                       int anisotropyEnable,
                                       float maxAnisotropy,
                                       int compareEnable,
                                       int compareOp,
                                       float minLod,
                                       float maxLod,
                                       int borderColor,
                                       int unnormalizedCoordinates)
        Initializes this struct with the specified values.