Mac OS 9
RAVESystem.h File Reference

Interfaces needed when building RAVE engines. More...

#include <ConditionalMacros.h>
#include <RAVE.h>

Go to the source code of this file.

Data Structures

union  TQAEngineMethod
 
union  TQADrawMethod
 

Typedefs

typedef void * pixelData
 
typedef void long transparentIndex
 
typedef void long TQAColorTable ** newTable
 
typedef TQAImagePixelType pixelType
 
typedef TQAImagePixelType const TQAImage images[]
 
typedef TQAImagePixelType const TQAImage TQATexture ** newTexture
 
typedef TQAColorTable * colorTable
 
typedef TQAImagePixelType const TQAImageimage
 
typedef TQAImagePixelType const TQAImage TQABitmap ** newBitmap
 
typedef const TQADevicedevice
 
typedef const TQADevice const TQARectrect
 
typedef const TQADevice const TQARect const TQAClipclip
 
typedef const TQADevice const TQARect const TQAClip unsigned long flags
 
typedef void * response
 
typedef long mipmapLevel
 
typedef long long TQAPixelBufferbuffer
 
typedef const TQARectdirtyRect
 
typedef union TQAEngineMethod TQAEngineMethod
 
typedef enum TQAEngineMethodTag TQAEngineMethodTag
 
typedef TQAEngineMethodmethod
 
typedef union TQADrawMethod TQADrawMethod
 
typedef enum TQADrawMethodTag TQADrawMethodTag
 

Enumerations

enum  TQAEngineMethodTag {
  kQADrawPrivateNew = 0 , kQADrawPrivateDelete = 1 , kQAEngineCheckDevice = 2 , kQAEngineGestalt = 3 ,
  kQATextureNew = 4 , kQATextureDetach = 5 , kQATextureDelete = 6 , kQABitmapNew = 7 ,
  kQABitmapDetach = 8 , kQABitmapDelete = 9 , kQAColorTableNew = 10 , kQAColorTableDelete = 11 ,
  kQATextureBindColorTable = 12 , kQABitmapBindColorTable = 13 , kQAAccessTexture = 14 , kQAAccessTextureEnd = 15 ,
  kQAAccessBitmap = 16 , kQAAccessBitmapEnd = 17
}
 
enum  TQADrawMethodTag {
  kQASetFloat = 0 , kQASetInt = 1 , kQASetPtr = 2 , kQAGetFloat = 3 ,
  kQAGetInt = 4 , kQAGetPtr = 5 , kQADrawPoint = 6 , kQADrawLine = 7 ,
  kQADrawTriGouraud = 8 , kQADrawTriTexture = 9 , kQADrawVGouraud = 10 , kQADrawVTexture = 11 ,
  kQADrawBitmap = 12 , kQARenderStart = 13 , kQARenderEnd = 14 , kQARenderAbort = 15 ,
  kQAFlush = 16 , kQASync = 17 , kQASubmitVerticesGouraud = 18 , kQASubmitVerticesTexture = 19 ,
  kQADrawTriMeshGouraud = 20 , kQADrawTriMeshTexture = 21 , kQASetNoticeMethod = 22 , kQAGetNoticeMethod = 23 ,
  kQSubmitMultiTextureParams = 24 , kQAccessDrawBuffer = 25 , kQAccessDrawBufferEnd = 26 , kQAccessZBuffer = 27 ,
  kQAccessZBufferEnd = 28 , kQClearDrawBuffer = 29 , kQClearZBuffer = 30 , kQTextureNewFromDrawContext = 31 ,
  kQBitmapNewFromDrawContext = 32 , kQBusy = 33 , kQSwapBuffers = 34
}
 

Functions

typedef CALLBACK_API_C (TQAError, TQAColorTableNew)(TQAColorTableType pixelType
 
typedef CALLBACK_API_C (void, TQAColorTableDelete)(TQAColorTable *colorTable)
 
typedef CALLBACK_API_C (TQAError, TQATextureNew)(unsigned long flags
 
typedef CALLBACK_API_C (TQAError, TQATextureDetach)(TQATexture *texture)
 
typedef CALLBACK_API_C (void, TQATextureDelete)(TQATexture *texture)
 
typedef CALLBACK_API_C (TQAError, TQATextureBindColorTable)(TQATexture *texture
 
typedef CALLBACK_API_C (TQAError, TQABitmapNew)(unsigned long flags
 
typedef CALLBACK_API_C (TQAError, TQABitmapDetach)(TQABitmap *bitmap)
 
typedef CALLBACK_API_C (void, TQABitmapDelete)(TQABitmap *bitmap)
 
typedef CALLBACK_API_C (TQAError, TQABitmapBindColorTable)(TQABitmap *bitmap
 
typedef CALLBACK_API_C (TQAError, TQADrawPrivateNew)(TQADrawContext *newDrawContext
 
typedef CALLBACK_API_C (void, TQADrawPrivateDelete)(TQADrawPrivate *drawPrivate)
 
typedef CALLBACK_API_C (TQAError, TQAEngineCheckDevice)(const TQADevice *device)
 
typedef CALLBACK_API_C (TQAError, TQAEngineGestalt)(TQAGestaltSelector selector
 
typedef CALLBACK_API_C (TQAError, TQAAccessTexture)(TQATexture *texture
 
typedef CALLBACK_API_C (TQAError, TQAAccessTextureEnd)(TQATexture *texture
 
typedef CALLBACK_API_C (TQAError, TQAAccessBitmap)(TQABitmap *bitmap
 
typedef CALLBACK_API_C (TQAError, TQAAccessBitmapEnd)(TQABitmap *bitmap
 
typedef CALLBACK_API_C (TQAError, TQAEngineGetMethod)(TQAEngineMethodTag methodTag
 
TQAError QARegisterEngine (TQAEngineGetMethod engineGetMethod)
 
TQAError QARegisterEngineWithRefCon (TQAEngineGetMethod engineGetMethod, long refCon)
 
long QAGetCurrentEngineRefCon (void)
 
TQAError QARegisterDrawMethod (TQADrawContext *drawContext, TQADrawMethodTag methodTag, TQADrawMethod method)
 

Detailed Description

Interfaces needed when building RAVE engines.

Introduced In: Quickdraw 3D 1.6
Avaliable From: Universal Interfaces 3.4.1
Copyright: © 1995-2001 by Apple Computer, Inc., all rights reserved.

For bug reports, consult the following page on the World Wide Web:

http://developer.apple.com/bugreporter/

Function Documentation

◆ CALLBACK_API_C() [1/16]

typedef CALLBACK_API_C ( TQAError  ,
TQAAccessTexture   
)

new engine methods for RAVE 1.6

◆ CALLBACK_API_C() [2/16]

typedef CALLBACK_API_C ( TQAError  ,
TQABitmapBindColorTable   
)

TQABitmapBindColorTable parameter descriptions TQABitmap *bitmap Previously allocated by QABitmapNew() TQAColorTable *colorTable Previously allocated by QAColorTableNew()

◆ CALLBACK_API_C() [3/16]

typedef CALLBACK_API_C ( TQAError  ,
TQABitmapDetach   
)

TQABitmapDetach parameter descriptions TQABitmap *bitmap Previously allocated by QABitmapNew()

◆ CALLBACK_API_C() [4/16]

typedef CALLBACK_API_C ( TQAError  ,
TQABitmapNew   
)

TQABitmapNew parameter descriptions unsigned long flags Mask of kQABitmap_xxx flags TQAImagePixelType pixelType Depth, color space, etc. const TQAImage *image Image TQABitmap **newBitmap (Out) Newly created TQABitmap, or NULL on error

◆ CALLBACK_API_C() [5/16]

typedef CALLBACK_API_C ( TQAError  ,
TQAColorTableNew   
)

TQAColorTableNew parameter descriptions TQAColorTableType pixelType Depth, color space, etc. void *pixelData lookup table entries in pixelType format long transparentIndex boolean, false means no transparency, true means index 0 is transparent TQAColorTable **newTable (Out) Newly created TQAColorTable

◆ CALLBACK_API_C() [6/16]

typedef CALLBACK_API_C ( TQAError  ,
TQADrawPrivateNew   
)

TQADrawPrivateNew parameter descriptions TQADrawContext *newDrawContext Draw context to initialize const TQADevice *device Target device const TQARect *rect Target rectangle (device coordinates) const TQAClip *clip 2D clip region (or NULL) unsigned long flags Mask of kQAContext_xxx

◆ CALLBACK_API_C() [7/16]

typedef CALLBACK_API_C ( TQAError  ,
TQAEngineCheckDevice   
) const

TQAEngineCheckDevice parameter descriptions const TQADevice *device Target device

◆ CALLBACK_API_C() [8/16]

typedef CALLBACK_API_C ( TQAError  ,
TQAEngineGestalt   
)

TQAEngineGestalt parameter descriptions TQAGestaltSelector selector Gestalt parameter being requested void *response Buffer that receives response

◆ CALLBACK_API_C() [9/16]

typedef CALLBACK_API_C ( TQAError  ,
TQAEngineGetMethod   
)

TQAEngineGetMethod parameter descriptions TQAEngineMethodTag methodTag Method being requested TQAEngineMethod *method (Out) Method

◆ CALLBACK_API_C() [10/16]

typedef CALLBACK_API_C ( TQAError  ,
TQATextureBindColorTable   
)

TQATextureBindColorTable parameter descriptions TQATexture *texture Previously allocated by QATextureNew() TQAColorTable *colorTable Previously allocated by QAColorTableNew()

◆ CALLBACK_API_C() [11/16]

typedef CALLBACK_API_C ( TQAError  ,
TQATextureDetach   
)

TQATextureDetach parameter descriptions TQATexture *texture Previously allocated by QATextureNew()

◆ CALLBACK_API_C() [12/16]

typedef CALLBACK_API_C ( TQAError  ,
TQATextureNew   
)

TQATextureNew parameter descriptions unsigned long flags Mask of kQATexture_xxx flags TQAImagePixelType pixelType Depth, color space, etc. const TQAImage images[] Image(s) for texture TQATexture **newTexture (Out) Newly created TQATexture, or NULL on error

◆ CALLBACK_API_C() [13/16]

typedef CALLBACK_API_C ( void  ,
TQABitmapDelete   
)

TQABitmapDelete parameter descriptions TQABitmap *bitmap Previously allocated by QABitmapNew()

◆ CALLBACK_API_C() [14/16]

typedef CALLBACK_API_C ( void  ,
TQAColorTableDelete   
)

TQAColorTableDelete parameter descriptions TQAColorTable *colorTable Previously allocated by QAColorTableNew()

◆ CALLBACK_API_C() [15/16]

typedef CALLBACK_API_C ( void  ,
TQADrawPrivateDelete   
)

TQADrawPrivateDelete parameter descriptions TQADrawPrivate *drawPrivate Private context data to delete

◆ CALLBACK_API_C() [16/16]

typedef CALLBACK_API_C ( void  ,
TQATextureDelete   
)

TQATextureDelete parameter descriptions TQATexture *texture Previously allocated by QATextureNew()

◆ QAGetCurrentEngineRefCon()

long QAGetCurrentEngineRefCon ( void  )

QAGetEngineRefCon parameter descriptions QAGetCurrentEngineRefCon()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ QARegisterDrawMethod()

TQAError QARegisterDrawMethod ( TQADrawContext drawContext,
TQADrawMethodTag  methodTag,
TQADrawMethod  method 
)

QARegisterDrawMethod parameter descriptions TQADrawContext *drawContext Draw context in which to set method TQADrawMethodTag methodTag Method to set TQADrawMethod method Method QARegisterDrawMethod()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ QARegisterEngine()

TQAError QARegisterEngine ( TQAEngineGetMethod  engineGetMethod)

QARegisterEngine parameter descriptions TQAEngineGetMethod engineGetMethod Engine's getMethod method QARegisterEngine()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available

◆ QARegisterEngineWithRefCon()

TQAError QARegisterEngineWithRefCon ( TQAEngineGetMethod  engineGetMethod,
long  refCon 
)

QARegisterEngineWithRefCon parameter descriptions TQAEngineGetMethod engineGetMethod Engine's getMethod method long refCon Engine RefCon QARegisterEngineWithRefCon()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: not available