Class FMOD_STUDIO_ADVANCEDSETTINGS.Buffer

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

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

    • Buffer

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

    • cbsize

      public int cbsize()
      Returns:
      the value of the cbsize field.
    • commandqueuesize

      @NativeType("unsigned int") public int commandqueuesize()
      Returns:
      the value of the commandqueuesize field.
    • handleinitialsize

      @NativeType("unsigned int") public int handleinitialsize()
      Returns:
      the value of the handleinitialsize field.
    • studioupdateperiod

      public int studioupdateperiod()
      Returns:
      the value of the studioupdateperiod field.
    • idlesampledatapoolsize

      public int idlesampledatapoolsize()
      Returns:
      the value of the idlesampledatapoolsize field.
    • streamingscheduledelay

      @NativeType("unsigned int") public int streamingscheduledelay()
      Returns:
      the value of the streamingscheduledelay field.
    • encryptionkey

      @NativeType("char const *") public ByteBuffer encryptionkey()
      Returns:
      a ByteBuffer view of the null-terminated string pointed to by the encryptionkey field.
    • encryptionkeyString

      @NativeType("char const *") public String encryptionkeyString()
      Returns:
      the null-terminated string pointed to by the encryptionkey field.
    • cbsize

      public FMOD_STUDIO_ADVANCEDSETTINGS.Buffer cbsize(int value)
      Sets the specified value to the cbsize field.
    • commandqueuesize

      public FMOD_STUDIO_ADVANCEDSETTINGS.Buffer commandqueuesize(@NativeType("unsigned int") int value)
      Sets the specified value to the commandqueuesize field.
    • handleinitialsize

      public FMOD_STUDIO_ADVANCEDSETTINGS.Buffer handleinitialsize(@NativeType("unsigned int") int value)
      Sets the specified value to the handleinitialsize field.
    • studioupdateperiod

      public FMOD_STUDIO_ADVANCEDSETTINGS.Buffer studioupdateperiod(int value)
      Sets the specified value to the studioupdateperiod field.
    • idlesampledatapoolsize

      public FMOD_STUDIO_ADVANCEDSETTINGS.Buffer idlesampledatapoolsize(int value)
      Sets the specified value to the idlesampledatapoolsize field.
    • streamingscheduledelay

      public FMOD_STUDIO_ADVANCEDSETTINGS.Buffer streamingscheduledelay(@NativeType("unsigned int") int value)
      Sets the specified value to the streamingscheduledelay field.
    • encryptionkey

      public FMOD_STUDIO_ADVANCEDSETTINGS.Buffer encryptionkey(@NativeType("char const *") ByteBuffer value)
      Sets the address of the specified encoded string to the encryptionkey field.