Class SoCpuBufferBasicProperty

    • Constructor Detail

      • SoCpuBufferBasicProperty

        public SoCpuBufferBasicProperty()
        Default constructor.
    • Method Detail

      • setMinMax

        public void setMinMax​(double min,
                              double max)
        Set the min and max values for this buffer.

        Parameters:
        min - user variable containing min value

        max - user variable containing max value
      • getMinMax

        public double[] getMinMax()
        Get the min and max values in the buffer, if they are known.
        Returns false if these values have not been set or computed. Returns true if values are available.

        Parameters:
        min - user variable to store min value

        max - user variable to store max value
      • getRealSize

        public long getRealSize()
        Returns the size of the buffer in bytes.
        For this type of buffer the real size is the same as the size of the SoBufferObject.