C# Class Protogame.UnifiedShaderAssetLoader

Inheritance: IAssetLoader
显示文件 Open project: RedpointGames/Protogame

Public Methods

Method Description
CanHandle ( IRawAsset data ) : bool
CanNew ( ) : bool
GetDefault ( IAssetManager assetManager, string name ) : IAsset
GetNew ( IAssetManager assetManager, string name ) : IAsset
Handle ( IAssetManager assetManager, string name, IRawAsset data ) : IAsset
UnifiedShaderAssetLoader ( IKernel kernel, IAssetContentManager assetContentManager ) : Protoinject

Method Details

CanHandle() public method

public CanHandle ( IRawAsset data ) : bool
data IRawAsset
return bool

CanNew() public method

public CanNew ( ) : bool
return bool

GetDefault() public method

public GetDefault ( IAssetManager assetManager, string name ) : IAsset
assetManager IAssetManager
name string
return IAsset

GetNew() public method

public GetNew ( IAssetManager assetManager, string name ) : IAsset
assetManager IAssetManager
name string
return IAsset

Handle() public method

public Handle ( IAssetManager assetManager, string name, IRawAsset data ) : IAsset
assetManager IAssetManager
name string
data IRawAsset
return IAsset

UnifiedShaderAssetLoader() public method

public UnifiedShaderAssetLoader ( IKernel kernel, IAssetContentManager assetContentManager ) : Protoinject
kernel IKernel
assetContentManager IAssetContentManager
return Protoinject