Package glitter :: Package utils :: Module shaderdtypes :: Class ShaderDatatype
[hide private]
[frames] | no frames]

Class ShaderDatatype

source code

object --+
         |
        ShaderDatatype

Instance Methods [hide private]
 
__init__(self, name, _gltype, dtype=int32, shape=1, texture=False, atomic=True)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
get_value(self, program, location) source code
 
set_value(self, program, location, value, count) source code
 
is_signed(self) source code
 
is_unsigned(self) source code
 
is_integer(self) source code
 
is_float(self) source code
 
is_boolean(self) source code
 
is_texture(self) source code
 
is_atomic(self) source code
 
__str__(self)
str(x)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]
 
_from_gl(cls, _gltype) source code
Class Variables [hide private]
  _gltype_db = {}
  _db = {}
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, _gltype, dtype=int32, shape=1, texture=False, atomic=True)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)