C# Класс ValveResourceFormat.CompiledShader

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
ReadFeatures ( ) : void
ReadShader ( ) : void
ReadShaderChunk ( int offset ) : byte[]

Описание методов

Dispose() публичный Метод

Releases binary reader.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

Read() публичный Метод

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.
Результат void

Read() публичный Метод

Reads the given Stream.
public Read ( string filename, Stream input ) : void
filename string The filename .
input Stream The input to read from.
Результат void