C# Class Protogame.DefaultRenderAutoCache

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

Public Methods

Method Description
AutoCache ( string name, object parameters, IGameContext gameContext, Func indexFactory ) : IndexBuffer
AutoCache ( string name, object parameters, IGameContext gameContext, int frameExpiry, Func indexFactory ) : IndexBuffer
AutoCache ( string name, object parameters, IGameContext gameContext, Func vertexFactory ) : VertexBuffer
AutoCache ( string name, object parameters, IGameContext gameContext, int frameExpiry, Func vertexFactory ) : VertexBuffer
DefaultRenderAutoCache ( IRenderCache renderCache ) : System
Update ( IGameContext gameContext, IUpdateContext updateContext ) : void

Private Methods

Method Description
FormKey ( string name, object parameters ) : string

Method Details

AutoCache() public method

public AutoCache ( string name, object parameters, IGameContext gameContext, Func indexFactory ) : IndexBuffer
name string
parameters object
gameContext IGameContext
indexFactory Func
return IndexBuffer

AutoCache() public method

public AutoCache ( string name, object parameters, IGameContext gameContext, int frameExpiry, Func indexFactory ) : IndexBuffer
name string
parameters object
gameContext IGameContext
frameExpiry int
indexFactory Func
return IndexBuffer

AutoCache() public method

public AutoCache ( string name, object parameters, IGameContext gameContext, Func vertexFactory ) : VertexBuffer
name string
parameters object
gameContext IGameContext
vertexFactory Func
return VertexBuffer

AutoCache() public method

public AutoCache ( string name, object parameters, IGameContext gameContext, int frameExpiry, Func vertexFactory ) : VertexBuffer
name string
parameters object
gameContext IGameContext
frameExpiry int
vertexFactory Func
return VertexBuffer

DefaultRenderAutoCache() public method

public DefaultRenderAutoCache ( IRenderCache renderCache ) : System
renderCache IRenderCache
return System

Update() public method

public Update ( IGameContext gameContext, IUpdateContext updateContext ) : void
gameContext IGameContext
updateContext IUpdateContext
return void