|
Classes |
struct | TQADeviceMemory |
struct | TQARect |
union | TQAPlatformDevice |
union | TQAPlatformClip |
struct | TQADevice |
struct | TQAClip |
struct | TQAIndexedTriangle |
struct | TQAImage |
struct | TQAVGouraud |
struct | TQAVTexture |
union | TQANoticeMethod |
struct | TQADrawContext |
Defines |
#define | kQAMacOS 1 |
#define | kQAGeneric 2 |
#define | kQAWin32 3 |
#define | kQAPlatform kQAMacOS |
#define | RAVE_EXPORT |
#define | RAVE_CALL |
#define | RAVE_CALLBACK |
#define | kQAZFunction_None 0 |
#define | kQAZFunction_LT 1 |
#define | kQAZFunction_EQ 2 |
#define | kQAZFunction_LE 3 |
#define | kQAZFunction_GT 4 |
#define | kQAZFunction_NE 5 |
#define | kQAZFunction_GE 6 |
#define | kQAZFunction_True 7 |
#define | kQAMaxWidth 128.0 |
#define | kQAAntiAlias_Off 0 |
#define | kQAAntiAlias_Fast 1 |
#define | kQAAntiAlias_Mid 2 |
#define | kQAAntiAlias_Best 3 |
#define | kQABlend_PreMultiply 0 |
#define | kQABlend_Interpolate 1 |
#define | kQABlend_OpenGL 2 |
#define | kQABufferComposite_None 0 |
#define | kQABufferComposite_PreMultiply 1 |
#define | kQABufferComposite_Interpolate 2 |
#define | kQAPerspectiveZ_Off 0 |
#define | kQAPerspectiveZ_On 1 |
#define | kQATextureFilter_Fast 0 |
#define | kQATextureFilter_Mid 1 |
#define | kQATextureFilter_Best 2 |
#define | kQATextureOp_None 0 |
#define | kQATextureOp_Modulate (1 << 0) |
#define | kQATextureOp_Highlight (1 << 1) |
#define | kQATextureOp_Decal (1 << 2) |
#define | kQATextureOp_Shrink (1 << 3) |
#define | kQACSGTag_None 0xffffffffUL |
#define | kQACSGTag_0 0 |
#define | kQACSGTag_1 1 |
#define | kQACSGTag_2 2 |
#define | kQACSGTag_3 3 |
#define | kQACSGTag_4 4 |
#define | kQAGL_Repeat 0 |
#define | kQAGL_Clamp 1 |
#define | kQAGL_SourceBlend_XXX 0 |
#define | kQAGL_DestBlend_XXX 0 |
#define | kQAGL_DrawBuffer_None 0 |
#define | kQAGL_DrawBuffer_FrontLeft (1<<0) |
#define | kQAGL_DrawBuffer_FrontRight (1<<1) |
#define | kQAGL_DrawBuffer_BackLeft (1<<2) |
#define | kQAGL_DrawBuffer_BackRight (1<<3) |
#define | kQAGL_DrawBuffer_Front (kQAGL_DrawBuffer_FrontLeft | kQAGL_DrawBuffer_FrontRight) |
#define | kQAGL_DrawBuffer_Back (kQAGL_DrawBuffer_BackLeft | kQAGL_DrawBuffer_BackRight) |
#define | kQATriFlags_None 0 |
#define | kQATriFlags_Backfacing (1 << 0) |
#define | kQATexture_None 0 |
#define | kQATexture_Lock (1<<0) |
#define | kQATexture_Mipmap (1<<1) |
#define | kQATexture_NoCompression (1<<2) |
#define | kQATexture_HighCompression (1<<3) |
#define | kQABitmap_None 0 |
#define | kQABitmap_Lock (1<<1) |
#define | kQABitmap_NoCompression (1<<2) |
#define | kQABitmap_HighCompression (1<<3) |
#define | kQAContext_None 0 |
#define | kQAContext_NoZBuffer (1 << 0) |
#define | kQAContext_DeepZ (1 << 1) |
#define | kQAContext_DoubleBuffer (1 << 2) |
#define | kQAContext_Cache (1 << 3) |
#define | kQAContext_NoDither (1 << 4) |
#define | kQAOptional_None 0 |
#define | kQAOptional_DeepZ (1 << 0) |
#define | kQAOptional_Texture (1 << 1) |
#define | kQAOptional_TextureHQ (1 << 2) |
#define | kQAOptional_TextureColor (1 << 3) |
#define | kQAOptional_Blend (1 << 4) |
#define | kQAOptional_BlendAlpha (1 << 5) |
#define | kQAOptional_Antialias (1 << 6) |
#define | kQAOptional_ZSorted (1 << 7) |
#define | kQAOptional_PerspectiveZ (1 << 8) |
#define | kQAOptional_OpenGL (1 << 9) |
#define | kQAOptional_NoClear (1 << 10) |
#define | kQAOptional_CSG (1 << 11) |
#define | kQAOptional_BoundToDevice (1 << 12) |
#define | kQAOptional_CL4 (1 << 13) |
#define | kQAOptional_CL8 (1 << 14) |
#define | kQAOptional_BufferComposite (1 << 15) |
#define | kQAOptional_NoDither (1 << 16) |
#define | kQAFast_None 0 |
#define | kQAFast_Line (1 << 0) |
#define | kQAFast_Gouraud (1 << 1) |
#define | kQAFast_Texture (1 << 2) |
#define | kQAFast_TextureHQ (1 << 3) |
#define | kQAFast_Blend (1 << 4) |
#define | kQAFast_Antialiasing (1 << 5) |
#define | kQAFast_ZSorted (1 << 6) |
#define | kQAFast_CL4 (1 << 7) |
#define | kQAFast_CL8 (1 << 8) |
#define | QASetFloat(drawContext, tag, newValue) (drawContext)->setFloat (drawContext,tag,newValue) |
#define | QASetInt(drawContext, tag, newValue) (drawContext)->setInt (drawContext,tag,newValue) |
#define | QASetPtr(drawContext, tag, newValue) (drawContext)->setPtr (drawContext,tag,newValue) |
#define | QAGetFloat(drawContext, tag) (drawContext)->getFloat (drawContext,tag) |
#define | QAGetInt(drawContext, tag) (drawContext)->getInt (drawContext,tag) |
#define | QAGetPtr(drawContext, tag) (drawContext)->getPtr (drawContext,tag) |
#define | QADrawPoint(drawContext, v) (drawContext)->drawPoint (drawContext,v) |
#define | QADrawLine(drawContext, v0, v1) (drawContext)->drawLine (drawContext,v0,v1) |
#define | QADrawTriGouraud(drawContext, v0, v1, v2, flags) (drawContext)->drawTriGouraud (drawContext,v0,v1,v2,flags) |
#define | QADrawTriTexture(drawContext, v0, v1, v2, flags) (drawContext)->drawTriTexture (drawContext,v0,v1,v2,flags) |
#define | QASubmitVerticesGouraud(drawContext, nVertices, vertices) (drawContext)->submitVerticesGouraud(drawContext,nVertices,vertices) |
#define | QASubmitVerticesTexture(drawContext, nVertices, vertices) (drawContext)->submitVerticesTexture(drawContext,nVertices,vertices) |
#define | QADrawTriMeshGouraud(drawContext, nTriangle, triangles) (drawContext)->drawTriMeshGouraud (drawContext,nTriangle,triangles) |
#define | QADrawTriMeshTexture(drawContext, nTriangle, triangles) (drawContext)->drawTriMeshTexture (drawContext,nTriangle,triangles) |
#define | QADrawVGouraud(drawContext, nVertices, vertexMode, vertices, flags) (drawContext)->drawVGouraud (drawContext,nVertices,vertexMode,vertices,flags) |
#define | QADrawVTexture(drawContext, nVertices, vertexMode, vertices, flags) (drawContext)->drawVTexture (drawContext,nVertices,vertexMode,vertices,flags) |
#define | QADrawBitmap(drawContext, v, bitmap) (drawContext)->drawBitmap (drawContext,v,bitmap) |
#define | QARenderStart(drawContext, dirtyRect, initialContext) (drawContext)->renderStart (drawContext,dirtyRect,initialContext) |
#define | QARenderEnd(drawContext, modifiedRect) (drawContext)->renderEnd (drawContext,modifiedRect) |
#define | QARenderAbort(drawContext) (drawContext)->renderAbort (drawContext) |
#define | QAFlush(drawContext) (drawContext)->flush (drawContext) |
#define | QASync(drawContext) (drawContext)->sync (drawContext) |
#define | QASetNoticeMethod(drawContext, method, completionCallBack, refCon) (drawContext)->setNoticeMethod (drawContext, method, completionCallBack, refCon) |
#define | QAGetNoticeMethod(drawContext, method, completionCallBack, refCon) (drawContext)->getNoticeMethod (drawContext, method, completionCallBack, refCon) |
Typedefs |
typedef enum TQAImagePixelType | TQAImagePixelType |
typedef enum TQAColorTableType | TQAColorTableType |
typedef enum TQADeviceType | TQADeviceType |
typedef TQADeviceMemory | TQADeviceMemory |
typedef enum TQAClipType | TQAClipType |
typedef TQARect | TQARect |
typedef TQAPlatformDevice | TQAPlatformDevice |
typedef TQAPlatformClip | TQAPlatformClip |
typedef TQADevice | TQADevice |
typedef TQAClip | TQAClip |
typedef TQADrawContext | TQADrawContext |
typedef TQAEngine | TQAEngine |
typedef TQATexture | TQATexture |
typedef TQABitmap | TQABitmap |
typedef TQADrawPrivate | TQADrawPrivate |
typedef TQAImage | TQAImage |
typedef TQAColorTable | TQAColorTable |
typedef TQAIndexedTriangle | TQAIndexedTriangle |
typedef enum TQAError | TQAError |
typedef TQAVGouraud | TQAVGouraud |
typedef TQAVTexture | TQAVTexture |
typedef enum TQATagInt | TQATagInt |
typedef enum TQATagPtr | TQATagPtr |
typedef enum TQATagFloat | TQATagFloat |
typedef enum TQAVertexMode | TQAVertexMode |
typedef enum TQAGestaltSelector | TQAGestaltSelector |
typedef enum TQAMethodSelector | TQAMethodSelector |
typedef void(RAVE_CALLBACK * | TQAStandardNoticeMethod )(const TQADrawContext *drawContext, void *refCon) |
typedef void(RAVE_CALLBACK * | TQABufferNoticeMethod )(const TQADrawContext *drawContext, const TQADevice *buffer, const TQARect *dirtyRect, void *refCon) |
typedef TQANoticeMethod | TQANoticeMethod |
typedef TQATagFloat | tag |
typedef TQATagFloat float | newValue |
typedef unsigned | long (RAVE_CALLBACK *TQAGetInt)(const TQADrawContext *drawContext |
typedef void *RAVE_CALLBACK * | TQAGetPtr (const TQADrawContext *drawContext, TQATagPtr tag) |
typedef const TQAVGouraud * | v |
typedef const TQAVGouraud * | v0 |
typedef const TQAVGouraud
const TQAVGouraud * | v1 |
typedef const TQAVGouraud
const TQAVGouraud const TQAVGouraud * | v2 |
typedef const TQAVGouraud
const TQAVGouraud const TQAVGouraud
unsigned long | flags |
typedef unsigned long | nVertices |
typedef unsigned long const
TQAVGouraud * | vertices |
typedef unsigned long | nTriangles |
typedef unsigned long const
TQAIndexedTriangle * | triangles |
typedef unsigned long TQAVertexMode | vertexMode |
typedef const TQAVGouraud
TQABitmap * | bitmap |
typedef const TQARect * | dirtyRect |
typedef const TQARect const
TQADrawContext * | initialContext |
typedef const TQARect * | modifiedRect |
typedef TQAError(RAVE_CALLBACK * | TQASetNoticeMethod )(const TQADrawContext *drawContext, TQAMethodSelector method, TQANoticeMethod completionCallBack, void *refCon) |
typedef TQAError(RAVE_CALLBACK * | TQAGetNoticeMethod )(const TQADrawContext *drawContext, TQAMethodSelector method, TQANoticeMethod *completionCallBack, void **refCon) |
typedef enum TQAVersion | TQAVersion |
Enumerations |
enum | TQAImagePixelType {
kQAPixel_Alpha1 = 0,
kQAPixel_RGB16 = 1,
kQAPixel_ARGB16 = 2,
kQAPixel_RGB32 = 3,
kQAPixel_ARGB32 = 4,
kQAPixel_CL4 = 5,
kQAPixel_CL8 = 6
} |
enum | TQAColorTableType { kQAColorTable_CL8_RGB32 = 0,
kQAColorTable_CL4_RGB32 = 1
} |
enum | TQADeviceType { kQADeviceMemory = 0,
kQADeviceGDevice = 1,
kQADeviceWin32DC = 2,
kQADeviceDDSurface = 3
} |
enum | TQAClipType { kQAClipRgn = 0,
kQAClipWin32Rgn = 1
} |
enum | TQAError {
kQANoErr = 0,
kQAError = 1,
kQAOutOfMemory = 2,
kQANotSupported = 3,
kQAOutOfDate = 4,
kQAParamErr = 5,
kQAGestaltUnknown = 6,
kQADisplayModeUnsupported = 7,
kQAOutOfVideoMemory = 8
} |
enum | TQATagInt {
kQATag_ZFunction = 0,
kQATag_Antialias = 8,
kQATag_Blend = 9,
kQATag_PerspectiveZ = 10,
kQATag_TextureFilter = 11,
kQATag_TextureOp = 12,
kQATag_CSGTag = 14,
kQATag_CSGEquation = 15,
kQATag_BufferComposite = 16,
kQATagGL_DrawBuffer = 100,
kQATagGL_TextureWrapU = 101,
kQATagGL_TextureWrapV = 102,
kQATagGL_TextureMagFilter = 103,
kQATagGL_TextureMinFilter = 104,
kQATagGL_ScissorXMin = 105,
kQATagGL_ScissorYMin = 106,
kQATagGL_ScissorXMax = 107,
kQATagGL_ScissorYMax = 108,
kQATagGL_BlendSrc = 109,
kQATagGL_BlendDst = 110,
kQATagGL_LinePattern = 111,
kQATagGL_AreaPattern0 = 117,
kQATagGL_AreaPattern31 = 148,
kQATag_EngineSpecific_Minimum = 1000
} |
enum | TQATagPtr { kQATag_Texture = 13
} |
enum | TQATagFloat {
kQATag_ColorBG_a = 1,
kQATag_ColorBG_r = 2,
kQATag_ColorBG_g = 3,
kQATag_ColorBG_b = 4,
kQATag_Width = 5,
kQATag_ZMinOffset = 6,
kQATag_ZMinScale = 7,
kQATagGL_DepthBG = 112,
kQATagGL_TextureBorder_a = 113,
kQATagGL_TextureBorder_r = 114,
kQATagGL_TextureBorder_g = 115,
kQATagGL_TextureBorder_b = 116
} |
enum | TQAVertexMode {
kQAVertexMode_Point = 0,
kQAVertexMode_Line = 1,
kQAVertexMode_Polyline = 2,
kQAVertexMode_Tri = 3,
kQAVertexMode_Strip = 4,
kQAVertexMode_Fan = 5,
kQAVertexMode_NumModes = 6
} |
enum | TQAGestaltSelector {
kQAGestalt_OptionalFeatures = 0,
kQAGestalt_FastFeatures = 1,
kQAGestalt_VendorID = 2,
kQAGestalt_EngineID = 3,
kQAGestalt_Revision = 4,
kQAGestalt_ASCIINameLength = 5,
kQAGestalt_ASCIIName = 6,
kQAGestalt_TextureMemory = 7,
kQAGestalt_FastTextureMemory = 8,
kQAGestalt_NumSelectors = 9
} |
enum | TQAMethodSelector {
kQAMethod_RenderCompletion = 0,
kQAMethod_DisplayModeChanged = 1,
kQAMethod_ReloadTextures = 2,
kQAMethod_BufferInitialize = 3,
kQAMethod_BufferComposite = 4,
kQAMethod_NumSelectors = 5
} |
enum | TQAVersion { kQAVersion_Prerelease = 0,
kQAVersion_1_0 = 1,
kQAVersion_1_0_5 = 2,
kQAVersion_1_5 = 3
} |
Functions |
typedef | void (RAVE_CALLBACK *TQASetFloat)(TQADrawContext *drawContext |
typedef | float (RAVE_CALLBACK *TQAGetFloat)(const TQADrawContext *drawContext |
typedef | TQAError (RAVE_CALLBACK *TQARenderEnd)(const TQADrawContext *drawContext |
RAVE_EXPORT TQAError RAVE_CALL | QADrawContextNew (const TQADevice *device, const TQARect *rect, const TQAClip *clip, const TQAEngine *engine, unsigned long flags, TQADrawContext **newDrawContext) |
RAVE_EXPORT void RAVE_CALL | QADrawContextDelete (TQADrawContext *drawContext) |
RAVE_EXPORT TQAError RAVE_CALL | QAColorTableNew (const TQAEngine *engine, TQAColorTableType tableType, void *pixelData, long transparentIndexFlag, TQAColorTable **newTable) |
RAVE_EXPORT void RAVE_CALL | QAColorTableDelete (const TQAEngine *engine, TQAColorTable *colorTable) |
RAVE_EXPORT TQAError RAVE_CALL | QATextureNew (const TQAEngine *engine, unsigned long flags, TQAImagePixelType pixelType, const TQAImage images[], TQATexture **newTexture) |
RAVE_EXPORT TQAError RAVE_CALL | QATextureDetach (const TQAEngine *engine, TQATexture *texture) |
RAVE_EXPORT void RAVE_CALL | QATextureDelete (const TQAEngine *engine, TQATexture *texture) |
RAVE_EXPORT TQAError RAVE_CALL | QATextureBindColorTable (const TQAEngine *engine, TQATexture *texture, TQAColorTable *colorTable) |
RAVE_EXPORT TQAError RAVE_CALL | QABitmapNew (const TQAEngine *engine, unsigned long flags, TQAImagePixelType pixelType, const TQAImage *image, TQABitmap **newBitmap) |
RAVE_EXPORT TQAError RAVE_CALL | QABitmapDetach (const TQAEngine *engine, TQABitmap *bitmap) |
RAVE_EXPORT void RAVE_CALL | QABitmapDelete (const TQAEngine *engine, TQABitmap *bitmap) |
RAVE_EXPORT TQAError RAVE_CALL | QABitmapBindColorTable (const TQAEngine *engine, TQABitmap *bitmap, TQAColorTable *colorTable) |
RAVE_EXPORT TQAEngine *RAVE_CALL | QADeviceGetFirstEngine (const TQADevice *device) |
RAVE_EXPORT TQAEngine *RAVE_CALL | QADeviceGetNextEngine (const TQADevice *device, const TQAEngine *currentEngine) |
RAVE_EXPORT TQAError RAVE_CALL | QAEngineCheckDevice (const TQAEngine *engine, const TQADevice *device) |
RAVE_EXPORT TQAError RAVE_CALL | QAEngineGestalt (const TQAEngine *engine, TQAGestaltSelector selector, void *response) |
RAVE_EXPORT TQAError RAVE_CALL | QAEngineEnable (long vendorID, long engineID) |
RAVE_EXPORT TQAError RAVE_CALL | QAEngineDisable (long vendorID, long engineID) |