C# Class ValveResourceFormat.ResourceTypes.Texture

Inheritance: ValveResourceFormat.Blocks.ResourceData
Mostrar archivo Open project: SteamDatabase/ValveResourceFormat

Public Methods

Method Description
GenerateBitmap ( ) : Bitmap
Read ( BinaryReader reader, Resource resource ) : void
Texture ( ) : System
ToString ( ) : string

Private Methods

Method Description
ReadPNG ( ) : Bitmap
ReadRGBA16161616F ( BinaryReader r, int w, int h ) : Bitmap
ReadRGBA8888 ( BinaryReader r, int w, int h ) : Bitmap

Method Details

GenerateBitmap() public method

public GenerateBitmap ( ) : Bitmap
return System.Drawing.Bitmap

Read() public method

public Read ( BinaryReader reader, Resource resource ) : void
reader System.IO.BinaryReader
resource Resource
return void

Texture() public method

public Texture ( ) : System
return System

ToString() public method

public ToString ( ) : string
return string