Table of Contents

Class: Texture _chimera/__init__.py

Texture documentation

constants:

  • Alpha = 6406

  • Blue = 6405

  • Byte = 5120

  • ColorIndex = 6400

  • Double = 5130

  • Float = 5126

  • Green = 6404

  • Int = 5124

  • Luminance = 6409

  • LuminanceAlpha = 6410

  • RGB = 6407

  • RGBA = 6408

  • Red = 6403

  • Short = 5122

  • UnsignedByte = 5121

  • UnsignedInt = 5125

  • UnsignedShort = 5123

attributes:

  • pixelMap

Methods   
Texture
__hash__
dimension
finishEditing
format
isTexture
isTranslucent
name
pilImage
pilLoad
remove
rgba
save
sizes
startEditing
type
  Texture 
Texture (
        self,
        name,
        format,
        type,
        width,
        height,
        depth,
        )

Texture(otf::Symbol name, int format, int type, int width, int height, int depth) -> Texture Texture(otf::Symbol name, PixelMap* colormap, int type, int width, int height, int depth) -> Texture

Texture constructor documentation.

  __hash__ 
__hash__ ( self )

arguments/return value unknown

hash instance

  dimension 
dimension ( self )

dimension() -> int

dimension documentation.

  finishEditing 
finishEditing ( self )

finishEditing()

finishEditing documentation.

  format 
format ( self )

format() -> int

format documentation.

  isTexture 
isTexture ( self )

isTexture() -> bool

isTexture documentation.

  isTranslucent 
isTranslucent ( self )

isTranslucent() -> bool

isTranslucent documentation.

  name 
name ( self )

name() -> otf::Symbol

name documentation.

  pilImage 
pilImage ( self )

pilImage() -> struct _object*

pilImage documentation.

  pilLoad 
pilLoad ( self,  image )

pilLoad(struct _object* image)

pilLoad documentation.

  remove 
remove ( self )

remove()

remove documentation.

  rgba 
rgba ( self,  index )

rgba(int index) -> otf::Array<double,4>

rgba documentation.

  save 
save ( self,  name )

save(otf::Symbol name)

save documentation.

  sizes 
sizes ( self )

sizes() -> int, int, int, int, int

sizes documentation.

  startEditing 
startEditing ( self )

startEditing() -> void*

startEditing documentation.

  type 
type ( self )

type() -> int

type documentation.


Table of Contents

This document was automatically generated on Wed Mar 26 19:02:47 2003 by HappyDoc version 2.1