Class TestSetLoader
Test set loader
Inherited Members
Namespace: Unity.Barracuda
Assembly: solution.dll
Syntax
public class TestSetLoader
Methods
Load(string)
Load test set from file
Declaration
public static TestSet Load(string filename)
Parameters
Type | Name | Description |
---|---|---|
string | filename | file name |
Returns
Type | Description |
---|---|
Test |
|
LoadFloatArray(BinaryReader)
Load float array
Declaration
public static float[] LoadFloatArray(BinaryReader file)
Parameters
Type | Name | Description |
---|---|---|
Binary |
file | binary file reader |
Returns
Type | Description |
---|---|
float[] | float array |
LoadGZ(string)
Load GZ
Declaration
public static TestSet LoadGZ(string filename)
Parameters
Type | Name | Description |
---|---|---|
string | filename | file name |
Returns
Type | Description |
---|---|
Test |
|
LoadImage(string)
Load image
Declaration
public static Texture LoadImage(string filename)
Parameters
Type | Name | Description |
---|---|---|
string | filename | file name |
Returns
Type | Description |
---|---|
Texture |
|
LoadJSON(string)
Load JSON
Declaration
public static TestSet LoadJSON(string filename)
Parameters
Type | Name | Description |
---|---|---|
string | filename | file name |
Returns
Type | Description |
---|---|
Test |
|
LoadRaw(string)
Load raw test set
Declaration
public static TestSet LoadRaw(string filename)
Parameters
Type | Name | Description |
---|---|---|
string | filename | file name |
Returns
Type | Description |
---|---|
Test |
|