Squeak Class Documentation category index | class index  
 
B3DEnginePart
  category: Balloon3D-Engine
  superclass: Object
  subclasses: B3DVertexClipper B3DVertexTransformer B3DRenderEngine B3DVertexRasterizer B3DVertexShader

I am the superclass for all separate parts of the Balloon 3D engine. I define the basic interface each part of the engine must respond to.

Instance variables:
engine <B3DRenderEngine> The 3D engine I am associated with

instance methods
  initialize
  destroy
flush
initialize
reset

  private
  setEngine:

  processing
  processIndexedLines:
processIndexedQuads:
processIndexedTriangles:
processLineLoop:
processLines:
processPoints:
processPolygon:
processVertexBuffer:

class methods
  class initialization
  initialize

  instance creation
  engine:
new

  testing
  isAvailable
isAvailableFor:

instance methods
  initialize top  
 

destroy

Destroy all resources temporarily assigned to the receiver


 

flush

Flush all pending operations


 

initialize


 

reset


  private top  
 

setEngine:


  processing top  
 

processIndexedLines:

Process an indexed line set


 

processIndexedQuads:

Process an indexed quad set


 

processIndexedTriangles:

Process an indexed triangle set


 

processLineLoop:

Process a closed line defined by the vertex buffer


 

processLines:

Process a series of lines defined by each two points the vertex buffer


 

processPoints:

Process a series of points defined by the vertex buffer


 

processPolygon:

Process a polygon defined by the vertex buffer


 

processVertexBuffer:

Process the given vertex buffer in this part of the engine.


class methods
  class initialization top  
 

initialize

B3DEnginePart initialize


  instance creation top  
 

engine:


 

new

Answer a new instance of the receiver (which is a class) with no indexable variables. Fail if the class is indexable.


  testing top  
 

isAvailable

Return true if this part of the engine is available


 

isAvailableFor:

Return true if this part of the engine is available for the given output medium