C# Class Fusion.Drivers.Graphics.BytecodeUtils

Datei anzeigen Open project: demiurghg/FusionEngine

Public Methods

Method Description
ParseSignature ( byte bytecode, string token ) : SignatureEntry[]

Reads shader signature from bytecode.

Private Methods

Method Description
GetTokenPosition ( byte bc, string token, int &length ) : int

Gets token position and subsection size.

ReadNullTermASCIIString ( byte bytecode, int start ) : string

Method Details

ParseSignature() public static method

Reads shader signature from bytecode.
public static ParseSignature ( byte bytecode, string token ) : SignatureEntry[]
bytecode byte Bytecode.
token string Signature token: Possible values are 'ISGN', 'OSGN', 'OSG5'.
return SignatureEntry[]