C# Class Axiom.Components.Paging.PageRequestQueue

Afficher le fichier Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Свойство Type Description
mBackgroundQueue Deque
mForceSynchronous bool
mPageManager PageManager
mRenderQueue Deque
mRenderThreadTimeLimit uint

Méthodes publiques

Méthode Description
CancelOperationsForPage ( Page page ) : void

Cancel any pending operations for a Page.

LoadPage ( Page page, PagedWorldSection section ) : void

Load a Page, for a given PagedWorldSection.

LoadPage ( Page page, PagedWorldSection section, bool forceSync ) : void

Load a Page, for a given PagedWorldSection.

PageRequestQueue ( PageManager manager ) : System

The PageRequestQueue is where pages are queued for loading and freeing.

ProcessRenderThreadsRequest ( ) : void

To be called in the main render thread each frame

UnLoadPage ( Page page, PagedWorldSection section, bool forceSync ) : void

Dispose of a page

Méthodes protégées

Méthode Description
AddBackgroundRequest ( Request r ) : void

AddBackgroundRequest ( Request r, bool forceSync ) : void

AddRenderRequest ( Request r ) : void

AddRenderRequest ( Request r, bool forceSync ) : void

ProcessBackgroundRequest ( Request r ) : void

Process the background portion of a request (may be threaded)

ProcessRenderRequest ( Request r ) : void

Process the render portion of a request (may be threaded)

Method Details

AddBackgroundRequest() protected méthode

protected AddBackgroundRequest ( Request r ) : void
r Request
Résultat void

AddBackgroundRequest() protected méthode

protected AddBackgroundRequest ( Request r, bool forceSync ) : void
r Request
forceSync bool
Résultat void

AddRenderRequest() protected méthode

protected AddRenderRequest ( Request r ) : void
r Request
Résultat void

AddRenderRequest() protected méthode

protected AddRenderRequest ( Request r, bool forceSync ) : void
r Request
forceSync bool
Résultat void

CancelOperationsForPage() public méthode

Cancel any pending operations for a Page.
public CancelOperationsForPage ( Page page ) : void
page Page
Résultat void

LoadPage() public méthode

Load a Page, for a given PagedWorldSection.
public LoadPage ( Page page, PagedWorldSection section ) : void
page Page
section PagedWorldSection
Résultat void

LoadPage() public méthode

Load a Page, for a given PagedWorldSection.
public LoadPage ( Page page, PagedWorldSection section, bool forceSync ) : void
page Page
section PagedWorldSection
forceSync bool
Résultat void

PageRequestQueue() public méthode

The PageRequestQueue is where pages are queued for loading and freeing.
public PageRequestQueue ( PageManager manager ) : System
manager PageManager
Résultat System

ProcessBackgroundRequest() protected méthode

Process the background portion of a request (may be threaded)
protected ProcessBackgroundRequest ( Request r ) : void
r Request
Résultat void

ProcessRenderRequest() protected méthode

Process the render portion of a request (may be threaded)
protected ProcessRenderRequest ( Request r ) : void
r Request
Résultat void

ProcessRenderThreadsRequest() public méthode

To be called in the main render thread each frame
public ProcessRenderThreadsRequest ( ) : void
Résultat void

UnLoadPage() public méthode

Dispose of a page
public UnLoadPage ( Page page, PagedWorldSection section, bool forceSync ) : void
page Page
section PagedWorldSection
forceSync bool
Résultat void

Property Details

mBackgroundQueue protected_oe property

Requests pending for the background queue
protected Deque mBackgroundQueue
Résultat Deque

mForceSynchronous protected_oe property

Enable this option if you want to force synchronous loading of all future requests.
protected bool mForceSynchronous
Résultat bool

mPageManager protected_oe property

protected PageManager,Axiom.Components.Paging mPageManager
Résultat PageManager

mRenderQueue protected_oe property

Requests pending for the render queue (follow on from background)
protected Deque mRenderQueue
Résultat Deque

mRenderThreadTimeLimit protected_oe property

Set the amount of time the render thread is allowed to spend on pending requests.
protected uint mRenderThreadTimeLimit
Résultat uint