Squeak Class Documentation category index | class index  
 
B3DTexture
  category: Balloon3D-Lights
  superclass: Form
  subclasses: B3DBackingForm B3DHardwareTexture

I represent a simple 2D texture.

Instance variables:
wrap <Boolean> If true, wrap the texture - otherwise clamp it.
interpolate <Boolean> If true, interpolate the pixels of the texture.
envMode <Integer> How we combine colors with the texture.
Possible values:
0 - OpenGL style modulate texture
1 - OpenGL style decal texture

instance methods
  accessing
  contentsOfArea:
envMode
envMode:
interpolate
interpolate:
wrap
wrap:

  converting
  asTexture

  flipping
  flipVertically

class methods
  no messages
 

instance methods
  accessing top  
 

contentsOfArea:

Return a new form which derives from the portion of the original form delineated by aRect.


 

envMode


 

envMode:


 

interpolate


 

interpolate:


 

wrap


 

wrap:


  converting top  
 

asTexture


  flipping top  
 

flipVertically

Flip the texture vertically


class methods
  no messages top