Squeak Class Documentation category index | class index  
 
B3DAcceleratorPlugin
  category: Balloon3D-Acceleration
  superclass: InterpreterPlugin
  subclasses:

B3DAcceleratorPlugin translate

instance methods
  initialize-release
  initialiseModule
shutdownModule

  primitive support
  fetchLightSource:ofObject:
stackLightArrayValue:
stackMaterialValue:
stackMatrix:
stackPrimitiveIndexArray:ofSize:validate:forVertexSize:
stackPrimitiveVertex:
stackPrimitiveVertexArray:ofSize:

  primitives-display
 

  primitives-forms
 

  primitives-rasterizer
 

  primitives-renderer
  primitiveClearDepthBuffer
primitiveClearViewport
primitiveCreateRenderer
primitiveDestroyRenderer
primitiveFinishRenderer
primitiveFlushRenderer
primitiveGetIntProperty
primitiveGetRendererColorMasks
primitiveGetRendererSurfaceDepth
primitiveGetRendererSurfaceHandle
primitiveGetRendererSurfaceHeight
primitiveGetRendererSurfaceWidth
primitiveIsOverlayRenderer
primitiveRenderVertexBuffer
primitiveRendererVersion
primitiveSetBufferRect
primitiveSetFog
primitiveSetIntProperty
primitiveSetLights
primitiveSetMaterial
primitiveSetTransform
primitiveSetVerboseLevel
primitiveSetViewport
primitiveSwapRendererBuffers

  primitives-textures
  primitiveAllocateTexture
primitiveCompositeTexture
primitiveDestroyTexture
primitiveTextureByteSex
primitiveTextureDepth
primitiveTextureGetColorMasks
primitiveTextureSurfaceHandle
primitiveTextureUpload

class methods
  C support code
  sqMacOpenGLFile
sqMacOpenGLHeaderFile
sqMacOpenGLInfoFile
sqOpenGLRendererFile
sqOpenGLRendererHeaderFile

  translation
  headerFile
moduleName
translateOn:inlining:to:local:

instance methods
  initialize-release top  
 

initialiseModule


 

shutdownModule


  primitive support top  
 

fetchLightSource:ofObject:

Fetch the primitive light source from the given array.
Note: No checks are done within here - that happened in stackLightArrayValue:


 

stackLightArrayValue:

Load an Array of B3DPrimitiveLights from the given stack index


 

stackMaterialValue:

Load a B3DMaterial from the given stack index


 

stackMatrix:

Load a 4x4 transformation matrix from the interpreter stack.
Return a pointer to the matrix data if successful, nil otherwise.


 

stackPrimitiveIndexArray:ofSize:validate:forVertexSize:

Load a primitive index array from the interpreter stack.
If aBool is true then check that all the indexes are in the range (1,maxIndex).
Return a pointer to the index data if successful, nil otherwise.


 

stackPrimitiveVertex:

Load a primitive vertex from the interpreter stack.
Return a pointer to the vertex data if successful, nil otherwise.


 

stackPrimitiveVertexArray:ofSize:

Load a primitive vertex array from the interpreter stack.
Return a pointer to the vertex data if successful, nil otherwise.


  primitives-display top  

  primitives-forms top  

  primitives-rasterizer top  

  primitives-renderer top  
 

primitiveClearDepthBuffer


 

primitiveClearViewport


 

primitiveCreateRenderer


 

primitiveDestroyRenderer


 

primitiveFinishRenderer


 

primitiveFlushRenderer


 

primitiveGetIntProperty


 

primitiveGetRendererColorMasks


 

primitiveGetRendererSurfaceDepth


 

primitiveGetRendererSurfaceHandle


 

primitiveGetRendererSurfaceHeight


 

primitiveGetRendererSurfaceWidth


 

primitiveIsOverlayRenderer


 

primitiveRenderVertexBuffer


 

primitiveRendererVersion


 

primitiveSetBufferRect

Primitive. Set the buffer rectangle (e.g., the pixel area on screen) to use for this renderer.
The viewport is positioned within the buffer rectangle.


 

primitiveSetFog


 

primitiveSetIntProperty


 

primitiveSetLights


 

primitiveSetMaterial


 

primitiveSetTransform

Transform an entire vertex buffer using the supplied modelview and projection matrix.


 

primitiveSetVerboseLevel


 

primitiveSetViewport


 

primitiveSwapRendererBuffers


  primitives-textures top  
 

primitiveAllocateTexture


 

primitiveCompositeTexture


 

primitiveDestroyTexture


 

primitiveTextureByteSex


 

primitiveTextureDepth


 

primitiveTextureGetColorMasks


 

primitiveTextureSurfaceHandle


 

primitiveTextureUpload


class methods
  C support code top  
 

sqMacOpenGLFile


 

sqMacOpenGLHeaderFile


 

sqMacOpenGLInfoFile


 

sqOpenGLRendererFile


 

sqOpenGLRendererHeaderFile


  translation top  
 

headerFile

If there is a single intrinsic header file to be associated with the plugin, here is where you want to put it. It will be generated and included automatically.


 

moduleName

Answer the receiver's module name that is used for the plugin's C code.


 

translateOn:inlining:to:local:

do the actual translation