Squeak Class Documentation category index | class index  
 
B3DRasterizerPlugin
  category: VMConstruction-Plugins
  superclass: B3DEnginePlugin
  subclasses:

No comment. Sorry.

instance methods
  primitive support
  loadObjectsFrom:
loadRasterizerState:
loadTexture:into:
loadTexturesFrom:
loadViewportFrom:
storeObjectsInto:

  primitives
  b3dInitPrimitiveObject
b3dInitializeRasterizerState
b3dPrimitiveObjectSize
b3dPrimitiveTextureSize
b3dRasterizerVersion
b3dStartRasterizer
primitiveSetBitBltPlugin

class methods
  C source code
  b3dAllocC
b3dAllocH
b3dDrawC
b3dHeaderH
b3dInitC
b3dMainC
b3dRemapC
b3dTypesH

  translation
  declareCVarsIn:
translateSupportCode:inlining:
writeSupportCode:

instance methods
  primitive support top  
 

loadObjectsFrom:


 

loadRasterizerState:

Load the rasterizer state from the given stack index.


 

loadTexture:into:

Note: This still uses the old-style textures


 

loadTexturesFrom:


 

loadViewportFrom:

Load the viewport from the given stack index


 

storeObjectsInto:


  primitives top  
 

b3dInitPrimitiveObject


 

b3dInitializeRasterizerState

Primitive. Initialize the primitive level objects of the given rasterizer.


 

b3dPrimitiveObjectSize

Primitive. Return the minimal number of words needed for a primitive object.


 

b3dPrimitiveTextureSize

Primitive. Return the minimal number of words needed for a primitive object.


 

b3dRasterizerVersion

Primitive. Return the version of the rasterizer.


 

b3dStartRasterizer

Primitive. Start the rasterizer.


 

primitiveSetBitBltPlugin

Primitive. Set the BitBlt plugin to use.


class methods
  C source code top  
 

b3dAllocC


 

b3dAllocH


 

b3dDrawC


 

b3dHeaderH


 

b3dInitC


 

b3dMainC


 

b3dRemapC


 

b3dTypesH


  translation top  
 

declareCVarsIn:

Note: This method must be implemented by all subclasses to declare variables.


 

translateSupportCode:inlining:

Inline the given C support code if inlineFlag is set.
Inlining converts any functions of the form:
/* INLINE someFunction(args) */
void someFunction(declaration args)
{
... actual code ...
}
/* --INLINE-- */
into
#define someFunction(args) \
/* void someFunction(declaration args) */ \
{ \
... actual code ... \
} \
/* --INLINE-- */
thus using a hard way of forcing inlining by the C compiler.


 

writeSupportCode:

B3DRasterizerPlugin writeSupportCode: true