Interface StructType<S>

Type Parameters:
S - The java representation of the instance struct.
All Known Subinterfaces:
Batched<S>, Instanced<S>
All Known Implementing Classes:
ModelType, OrientedType

public interface StructType<S>
A StructType contains metadata for a specific instance struct that Flywheel can interface with.
  • Method Details

    • create

      S create()
      Returns:
      A new, zeroed instance of S.
    • getLayout

      BufferLayout getLayout()
      Returns:
      The layout of S when buffered.