Class ktxTexture_vtbl.Buffer

All Implemented Interfaces:
Iterable<ktxTexture_vtbl>, Pointer
Enclosing class:
ktxTexture_vtbl

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

    • Buffer

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

    • Destroy

      @NativeType("PFNKTEXDESTROY") public long Destroy()
      Returns:
      the value of the Destroy field.
    • GetImageOffset

      @NativeType("PFNKTEXGETIMAGEOFFSET") public long GetImageOffset()
      Returns:
      the value of the GetImageOffset field.
    • GetDataSizeUncompressed

      @NativeType("PFNKTEXGETDATASIZEUNCOMPRESSED") public long GetDataSizeUncompressed()
      Returns:
      the value of the GetDataSizeUncompressed field.
    • GetImageSize

      @NativeType("PFNKTEXGETIMAGESIZE") public long GetImageSize()
      Returns:
      the value of the GetImageSize field.
    • GetLevelSize

      @NativeType("PFNKTEXGETLEVELSIZE") public long GetLevelSize()
      Returns:
      the value of the GetLevelSize field.
    • IterateLevels

      @NativeType("PFNKTEXITERATELEVELS") public long IterateLevels()
      Returns:
      the value of the IterateLevels field.
    • IterateLoadLevelFaces

      @NativeType("PFNKTEXITERATELOADLEVELFACES") public long IterateLoadLevelFaces()
      Returns:
      the value of the IterateLoadLevelFaces field.
    • NeedsTranscoding

      @NativeType("PFNKTEXNEEDSTRANSCODING") public long NeedsTranscoding()
      Returns:
      the value of the NeedsTranscoding field.
    • LoadImageData

      @NativeType("PFNKTEXLOADIMAGEDATA") public long LoadImageData()
      Returns:
      the value of the LoadImageData field.
    • SetImageFromMemory

      @NativeType("PFNKTEXSETIMAGEFROMMEMORY") public long SetImageFromMemory()
      Returns:
      the value of the SetImageFromMemory field.
    • SetImageFromStdioStream

      @NativeType("PFNKTEXSETIMAGEFROMSTDIOSTREAM") public long SetImageFromStdioStream()
      Returns:
      the value of the SetImageFromStdioStream field.
    • WriteToStdioStream

      @NativeType("PFNKTEXWRITETOSTDIOSTREAM") public long WriteToStdioStream()
      Returns:
      the value of the WriteToStdioStream field.
    • WriteToNamedFile

      @NativeType("PFNKTEXWRITETONAMEDFILE") public long WriteToNamedFile()
      Returns:
      the value of the WriteToNamedFile field.
    • WriteToMemory

      @NativeType("PFNKTEXWRITETOMEMORY") public long WriteToMemory()
      Returns:
      the value of the WriteToMemory field.
    • WriteToStream

      @NativeType("PFNKTEXWRITETOSTREAM") public long WriteToStream()
      Returns:
      the value of the WriteToStream field.