PhysX SDK 3.2 API Reference: pxtask::SpuDispatcher Class Reference

PhysX SDK 3.2 API

pxtask::SpuDispatcher Class Reference

A SpuDispatcher. More...

#include <PxSpuDispatcher.h>

List of all members.


Public Member Functions

virtual void submitTask (SpuTask &task)=0
 Called by the TaskManager when an SPU task is to be queued for execution.
virtual ~SpuDispatcher ()

Detailed Description

A SpuDispatcher.

A SpuDispatcher is responsible for scheduling the execution of SPU tasks passed to it by the SDK.

See also:
SpuTask

TaskManager


Constructor & Destructor Documentation

virtual pxtask::SpuDispatcher::~SpuDispatcher (  )  [inline, virtual]


Member Function Documentation

virtual void pxtask::SpuDispatcher::submitTask ( SpuTask task  )  [pure virtual]

Called by the TaskManager when an SPU task is to be queued for execution.

Upon receiving a task, the dispatcher should schedule the task to run on any available SPUs. After the task has been run, it should call the release() method and discard it's pointer.

Parameters:
[in] task The task to be run.
See also:
SpuTask


The documentation for this class was generated from the following file:



Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com