89
edits
Changes
→The 3D Device
} NPDeviceContext3D;</pre>
The 3D device API specifies a number of state types errors that can could be set or queried:returned.
<pre>typedef enum _NPDeviceContext3DError { /* The offset the command buffer service No error has read toocurred. */ NPDeviceContext3DState_GetOffsetNPDeviceContext3DError_NoError,
/* The offset the plugin instance has written tosize of a command was invalid. */ NPDeviceContext3DState_PutOffsetNPDeviceContext3DError_InvalidSize,
/* The last token processed by the command buffer serviceAn offset was out of bounds. */ NPDeviceContext3DState_TokenNPDeviceContext3DError_OutOfBounds,
/* The most recent parse error. Getting this value resets the parse error if it recoverableA command was not recognized. */ NPDeviceContext3DState_ParseErrorNPDeviceContext3DError_UnknownCommand,
/* Wether the The arguments to a command buffer has encountered an unrecoverable were invalid. */ NPDeviceContext3DError_InvalidArguments, /* The 3D context was lost, for example due to a power management event. The * context must be destroyed and a new one created. */ NPDeviceContext3DError_LostContext, /* Any other error. */ NPDeviceContext3DState_ErrorStatusNPDeviceContext3DError_GenericError} NPDeviceContext3DStateNPDeviceContext3DError; </pre>
== NPP_SetWindow and Windowless Plugins ==