C# Class VSViewer.FileFormats.TextureMap

Mostrar archivo Open project: MercurialForge/VSViewer Class Usage Examples

Public Properties

Property Type Description
map byte[]

Private Properties

Property Type Description
GetBitmap System.Windows.Media.Imaging.BitmapSource
GetPixelData byte[]

Public Methods

Method Description
GetTexture2D ( Device device ) : SharpDX.Direct3D11.Texture2D
SaveToDisk ( string name, string directory = "" ) : void
TextureMap ( int w, int h ) : System

Private Methods

Method Description
GetBitmap ( ) : System.Windows.Media.Imaging.BitmapSource
GetPixelData ( ) : byte[]

Method Details

GetTexture2D() public method

public GetTexture2D ( Device device ) : SharpDX.Direct3D11.Texture2D
device Device
return SharpDX.Direct3D11.Texture2D

SaveToDisk() public method

public SaveToDisk ( string name, string directory = "" ) : void
name string
directory string
return void

TextureMap() public method

public TextureMap ( int w, int h ) : System
w int
h int
return System

Property Details

map public_oe property

public byte[] map
return byte[]