Class SpvcMslConstexprSampler.Buffer

    • Constructor Detail

      • Buffer

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

      • coord

        public int coord()
        Returns:
        the value of the coord field.
      • min_filter

        public int min_filter()
        Returns:
        the value of the min_filter field.
      • mag_filter

        public int mag_filter()
        Returns:
        the value of the mag_filter field.
      • mip_filter

        public int mip_filter()
        Returns:
        the value of the mip_filter field.
      • s_address

        public int s_address()
        Returns:
        the value of the s_address field.
      • t_address

        public int t_address()
        Returns:
        the value of the t_address field.
      • r_address

        public int r_address()
        Returns:
        the value of the r_address field.
      • compare_func

        public int compare_func()
        Returns:
        the value of the compare_func field.
      • border_color

        public int border_color()
        Returns:
        the value of the border_color field.
      • lod_clamp_min

        public float lod_clamp_min()
        Returns:
        the value of the lod_clamp_min field.
      • lod_clamp_max

        public float lod_clamp_max()
        Returns:
        the value of the lod_clamp_max field.
      • max_anisotropy

        public int max_anisotropy()
        Returns:
        the value of the max_anisotropy field.
      • compare_enable

        public boolean compare_enable()
        Returns:
        the value of the compare_enable field.
      • lod_clamp_enable

        public boolean lod_clamp_enable()
        Returns:
        the value of the lod_clamp_enable field.
      • anisotropy_enable

        public boolean anisotropy_enable()
        Returns:
        the value of the anisotropy_enable field.
      • lod_clamp_enable

        public SpvcMslConstexprSampler.Buffer lod_clamp_enable​(boolean value)
        Sets the specified value to the lod_clamp_enable field.
      • anisotropy_enable

        public SpvcMslConstexprSampler.Buffer anisotropy_enable​(boolean value)
        Sets the specified value to the anisotropy_enable field.