Class BGFXTransform

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class BGFXTransform
    extends Struct
    implements NativeResource
    Transform data.

    Member documentation

    • data – pointer to first 4x4 matrix
    • num – number of matrices

    Layout

    
     struct bgfx_transform_t {
         float * data;
         uint16_t num;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • DATA, NUM

        The struct member offsets.
    • Constructor Detail

      • BGFXTransform

        public BGFXTransform​(java.nio.ByteBuffer container)
        Creates a BGFXTransform instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.