HappyDoc Generated Documentation Class: Texture

. / _chimera / Texture 

Texture(name: str, format: int, type: int, width: int, height: int = 1, depth: int = 1) -> Texture Texture(name: str, colormap: PixelMap, type: int, width: int, height: int = 1, depth: int = 1) -> Texture

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:

  • image: object
  • pixelMap: PixelMap

Methods   
  computeImageTypeBytes 
computeImageTypeBytes ( self,  type )

computeImageTypeBytes(type: int) -> int

  name 
name ( self )

name() -> str

  format 
format ( self )

format() -> int

  startEditing 
startEditing ( self )

startEditing() -> PyCObject

  sizes 
sizes ( self )

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

  list 
list ( self )

list() -> dict of (str, Texture)

  remove 
remove ( self )

remove()

  isTranslucent 
isTranslucent ( self )

isTranslucent() -> bool

  lookup 
lookup ( self,  name )

lookup(name: str) -> Texture

  computeDimension 
computeDimension (
        self,
        w,
        h,
        d,
        )

computeDimension(w: int, h: int = 1, d: int = 1) -> int

  computeComponents 
computeComponents ( self,  format )

computeComponents(format: int) -> int

  isTexture 
isTexture ( self )

isTexture() -> bool

  computeTarget 
computeTarget ( self,  dim )

computeTarget(dim: int) -> int

  finishEditing 
finishEditing ( self )

finishEditing()

  save 
save ( self )

arguments/return value unknown

  type 
type ( self )

type() -> int

  dimension 
dimension ( self )

dimension() -> int

  rgba 
rgba ( self,  index )

rgba(index: int) -> tuple of float


This document was automatically generated Thu Nov 09 13:33:31 2006 by HappyDoc version 3.0.a1