Class TestSetLoader
Test set loader
Inherited Members
Namespace: Unity.Barracuda
Assembly: Unity.Barracuda.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 |
|---|---|
| TestSet |
|
LoadFloatArray(BinaryReader)
Load float array
Declaration
public static float[] LoadFloatArray(BinaryReader file)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryReader | 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 |
|---|---|
| TestSet |
|
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 |
|---|---|
| TestSet |
|
LoadRaw(string)
Load raw test set
Declaration
public static TestSet LoadRaw(string filename)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filename | file name |
Returns
| Type | Description |
|---|---|
| TestSet |
|