Class RenderModelComponentState.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new RenderModelComponentState.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 RenderModelComponentState.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 Detail

      • mTrackingToComponentRenderModel

        public HmdMatrix34 mTrackingToComponentRenderModel()
        Returns a HmdMatrix34 view of the mTrackingToComponentRenderModel field.
      • mTrackingToComponentRenderModel

        public RenderModelComponentState.Buffer mTrackingToComponentRenderModel​(java.util.function.Consumer<HmdMatrix34> consumer)
        Passes the mTrackingToComponentRenderModel field to the specified Consumer.
      • mTrackingToComponentLocal

        public HmdMatrix34 mTrackingToComponentLocal()
        Returns a HmdMatrix34 view of the mTrackingToComponentLocal field.
      • mTrackingToComponentLocal

        public RenderModelComponentState.Buffer mTrackingToComponentLocal​(java.util.function.Consumer<HmdMatrix34> consumer)
        Passes the mTrackingToComponentLocal field to the specified Consumer.
      • uProperties

        public int uProperties()
        Returns the value of the uProperties field.