C# Class PPDFramework.Texture.DX11.TextureFactory

Inheritance: ITextureFactory
显示文件 Open project: KHCmaster/PPD

Public Methods

Method Description
Create ( PPDDevice device, int width, int height, int level, bool pa ) : TextureBase
CreateRenderTarget ( PPDDevice device, int width, int height, int level, bool pa ) : TextureBase
FromFile ( PPDDevice device, string filename, int width, int height, bool pa ) : TextureBase
FromStream ( PPDDevice device, Stream stream, int width, int height, bool pa ) : TextureBase

Method Details

Create() public method

public Create ( PPDDevice device, int width, int height, int level, bool pa ) : TextureBase
device PPDDevice
width int
height int
level int
pa bool
return TextureBase

CreateRenderTarget() public method

public CreateRenderTarget ( PPDDevice device, int width, int height, int level, bool pa ) : TextureBase
device PPDDevice
width int
height int
level int
pa bool
return TextureBase

FromFile() public method

public FromFile ( PPDDevice device, string filename, int width, int height, bool pa ) : TextureBase
device PPDDevice
filename string
width int
height int
pa bool
return TextureBase

FromStream() public method

public FromStream ( PPDDevice device, Stream stream, int width, int height, bool pa ) : TextureBase
device PPDDevice
stream Stream
width int
height int
pa bool
return TextureBase