Class SpvcMslConstexprSampler.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<SpvcMslConstexprSampler>, NativeResource, Pointer
Enclosing class:
SpvcMslConstexprSampler

public static class SpvcMslConstexprSampler.Buffer extends StructBuffer<SpvcMslConstexprSampler,SpvcMslConstexprSampler.Buffer> implements NativeResource
An array of SpvcMslConstexprSampler structs.
  • Constructor Details

    • Buffer

      public Buffer(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 Details

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

      public SpvcMslConstexprSampler.Buffer coord(int value)
      Sets the specified value to the coord field.
    • min_filter

      public SpvcMslConstexprSampler.Buffer min_filter(int value)
      Sets the specified value to the min_filter field.
    • mag_filter

      public SpvcMslConstexprSampler.Buffer mag_filter(int value)
      Sets the specified value to the mag_filter field.
    • mip_filter

      public SpvcMslConstexprSampler.Buffer mip_filter(int value)
      Sets the specified value to the mip_filter field.
    • s_address

      public SpvcMslConstexprSampler.Buffer s_address(int value)
      Sets the specified value to the s_address field.
    • t_address

      public SpvcMslConstexprSampler.Buffer t_address(int value)
      Sets the specified value to the t_address field.
    • r_address

      public SpvcMslConstexprSampler.Buffer r_address(int value)
      Sets the specified value to the r_address field.
    • compare_func

      public SpvcMslConstexprSampler.Buffer compare_func(int value)
      Sets the specified value to the compare_func field.
    • border_color

      public SpvcMslConstexprSampler.Buffer border_color(int value)
      Sets the specified value to the border_color field.
    • lod_clamp_min

      public SpvcMslConstexprSampler.Buffer lod_clamp_min(float value)
      Sets the specified value to the lod_clamp_min field.
    • lod_clamp_max

      public SpvcMslConstexprSampler.Buffer lod_clamp_max(float value)
      Sets the specified value to the lod_clamp_max field.
    • max_anisotropy

      public SpvcMslConstexprSampler.Buffer max_anisotropy(int value)
      Sets the specified value to the max_anisotropy field.
    • compare_enable

      public SpvcMslConstexprSampler.Buffer compare_enable(boolean value)
      Sets the specified value to the compare_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.