MeshLib Java Docs
Loading...
Searching...
No Matches

Public Member Functions

 ScalarType (int value)
boolean equals (java.lang.Object other)
int hashCode ()
java.lang.String toString ()

Static Public Member Functions

static ScalarType of (int value)

Public Attributes

final int value

Static Public Attributes

static final ScalarType UInt8 = new ScalarType(0)
static final ScalarType Int8 = new ScalarType(1)
static final ScalarType UInt16 = new ScalarType(2)
static final ScalarType Int16 = new ScalarType(3)
static final ScalarType UInt32 = new ScalarType(4)
static final ScalarType Int32 = new ScalarType(5)
static final ScalarType UInt64 = new ScalarType(6)
static final ScalarType Int64 = new ScalarType(7)
static final ScalarType Float32 = new ScalarType(8)
static final ScalarType Float64 = new ScalarType(9)
static final ScalarType Float32_4 = new ScalarType(10)
static final ScalarType Unknown = new ScalarType(11)
static final ScalarType Count = new ScalarType(12)

Detailed Description

scalar value's binary format type

The constants are static fields of this class. value holds the underlying value, so this can also hold values that aren't named constants.

Constructor & Destructor Documentation

◆ ScalarType()

meshlib.ScalarType.ScalarType ( int value)

Member Function Documentation

◆ equals()

boolean meshlib.ScalarType.equals ( java.lang.Object other)

◆ hashCode()

int meshlib.ScalarType.hashCode ( )

◆ of()

ScalarType meshlib.ScalarType.of ( int value)
static

Returns the named constant with this value, or a new instance if there's none.

◆ toString()

java.lang.String meshlib.ScalarType.toString ( )

Member Data Documentation

◆ Count

final ScalarType meshlib.ScalarType.Count = new ScalarType(12)
static

◆ Float32

final ScalarType meshlib.ScalarType.Float32 = new ScalarType(8)
static

◆ Float32_4

final ScalarType meshlib.ScalarType.Float32_4 = new ScalarType(10)
static

< the last value from float[4]

◆ Float64

final ScalarType meshlib.ScalarType.Float64 = new ScalarType(9)
static

◆ Int16

final ScalarType meshlib.ScalarType.Int16 = new ScalarType(3)
static

◆ Int32

final ScalarType meshlib.ScalarType.Int32 = new ScalarType(5)
static

◆ Int64

final ScalarType meshlib.ScalarType.Int64 = new ScalarType(7)
static

◆ Int8

final ScalarType meshlib.ScalarType.Int8 = new ScalarType(1)
static

◆ UInt16

final ScalarType meshlib.ScalarType.UInt16 = new ScalarType(2)
static

◆ UInt32

final ScalarType meshlib.ScalarType.UInt32 = new ScalarType(4)
static

◆ UInt64

final ScalarType meshlib.ScalarType.UInt64 = new ScalarType(6)
static

◆ UInt8

final ScalarType meshlib.ScalarType.UInt8 = new ScalarType(0)
static

◆ Unknown

final ScalarType meshlib.ScalarType.Unknown = new ScalarType(11)
static

◆ value

final int meshlib.ScalarType.value

The documentation for this class was generated from the following file: