Property | Type | Description | |
---|---|---|---|
ProgressProperty | PropertyInfo |
Method | Description | |
---|---|---|
AddError ( long offset, string message ) : void |
Add a generic load error.
|
|
AssetLoader ( AssetManager assetManager, |
Initialise the Asset loader.
|
|
Expect ( byte expected ) : bool |
Expect a UInt16 value; if found, return
|
|
Expect ( int expected ) : bool |
Expect a Int32 value; if found, return
|
|
Expect ( long expected ) : bool |
Expect a Int64 value; if found, return
|
|
Expect ( sbyte expected ) : bool |
Expect a SByte value; if found, return
|
|
Expect ( short expected ) : bool |
Expect a Int16 value; if found, return
|
|
Expect ( uint expected ) : bool |
Expect a UInt32 value; if found, return
|
|
Expect ( ulong expected ) : bool |
Expect a UInt64 value; if found, return
|
|
Expect ( ushort expected ) : bool |
Expect a Byte value; if found, return
|
|
ExpectMagic ( string expected ) : bool |
Expect a magic sequence of bytes. If found, return
|
|
ExpectPosition ( long expected ) : bool |
Expect the input to be at a given position; if not so, report an error.
|
|
ExpectZeroes ( int size, int count ) : bool |
Expect a sequence of zeroes, reporting errors if they are not found.
|
|
MakeBigEndian ( ) : BinaryReader |
Switch the Reader for a BigEndianBinaryReader.
|
|
ReadCheckedAbsoluteBox3f ( ) : Box3f |
Read a Box3f that is conveyed using absolute coordinates, with a triplet of min values and a triplet of max values. This checks that the min values are less than or equal to the max values, reporting errors if not.
|
|
Reset ( ) : void |
Reset the stream position to the original position when the asset loader was created.
|
|
SetProgressToPosition ( ) : void |
Set Progress to the current reader Position, based on the Start offset and the Length.
|
|
StartMarking ( ) : MarkingStream |
Switch to the use of a MarkingStream.
|
|
StartMarking ( BinaryReader &reader ) : MarkingStream |
Switch to the use of a MarkingStream.
|
Method | Description | |
---|---|---|
ExpectCore ( long expected, long received ) : bool | ||
ValueToString ( long value ) : string |
public AddError ( long offset, string message ) : void | ||
offset | long | |
message | string | |
return | void |
public AssetLoader ( AssetManager assetManager, |
||
assetManager | AssetManager | |
reader | ||
name | string | |
fileManager | The |
|
contextResource | Asset | |
length | long | |
return | Glare.Framework |
public ExpectMagic ( string expected ) : bool | ||
expected | string | |
return | bool |
public ExpectPosition ( long expected ) : bool | ||
expected | long | |
return | bool |
public ExpectZeroes ( int size, int count ) : bool | ||
size | int | |
count | int | |
return | bool |
public StartMarking ( BinaryReader &reader ) : MarkingStream | ||
reader | BinaryReader | |
return | MarkingStream |