C# Class ValveResourceFormat.CompiledShader

Inheritance: IDisposable
Afficher le fichier Open project: SteamDatabase/ValveResourceFormat Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void

Releases binary reader.

Read ( string filename ) : void

Opens and reads the given filename. The file is held open until the object is disposed.

Read ( string filename, Stream input ) : void

Reads the given Stream.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
ReadFeatures ( ) : void
ReadShader ( ) : void
ReadShaderChunk ( int offset ) : byte[]

Method Details

Dispose() public méthode

Releases binary reader.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Read() public méthode

Opens and reads the given filename. The file is held open until the object is disposed.
public Read ( string filename ) : void
filename string The file to open and read.
Résultat void

Read() public méthode

Reads the given Stream.
public Read ( string filename, Stream input ) : void
filename string The filename .
input Stream The input to read from.
Résultat void