Interface MemoryBlock

All Superinterfaces:
Comparable<GPUMemory<InstanceType>>, GPUMemory<InstanceType>

public interface MemoryBlock extends GPUMemory<InstanceType>
Maybe renaming at next Starsector update.
  • Method Details

    • address_instance

      int address_instance()
      The corresponding offset on SSBO memory as instance data.
    • instance_count

      int instance_count()
      As size() / sizeof(instance_type)
    • is_type_2D

      boolean is_type_2D()
    • is_type_fixed

      boolean is_type_fixed()