Package pyffi :: Package formats :: Package nif :: Class NifFormat :: Class _ATextureRenderData
[hide private]
[frames] | no frames]

Class _ATextureRenderData

source code

                  object --+                    
                           |                    
      utils.graph.DetailNode --+                
                               |                
          utils.graph.GlobalNode --+            
                                   |            
object_models.xml.struct_.StructBase --+        
                                       |        
                     NifFormat._NiObject --+    
                                           |    
                          NifFormat.NiObject --+
                                               |
                                              NifFormat._ATextureRenderData
Known Subclasses:

Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]

Inherited from NiObject: apply_scale, find, find_chain, is_interchangeable, tree

Inherited from NiObject (private): _validateTree

Inherited from object_models.xml.struct_.StructBase: __init__, __str__, deepcopy, fix_links, get_attribute, get_basic_attribute, get_detail_child_names, get_detail_child_nodes, get_global_child_nodes, get_global_display, get_hash, get_links, get_refs, get_size, get_strings, get_template_attribute, read, replace_global_node, set_attribute, set_basic_attribute, set_template_attribute, write

Inherited from utils.graph.GlobalNode: get_global_child_edge_types, get_global_iterator

Inherited from utils.graph.DetailNode: get_detail_child_edge_types, get_detail_display, get_detail_iterator

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

Class Methods [hide private]

Inherited from object_models.xml.struct_.StructBase: get_games, get_versions

Class Variables [hide private]
  _attribute_list = [<pyffi.object_models.xml.StructAttribute ob...
  _attrs = [<pyffi.object_models.xml.StructAttribute object at 0...
  _games = {}
  _has_links = True
  _has_refs = True
  _is_template = False
  _names = ['pixel_format', 'red_mask', 'green_mask', 'blue_mask...

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  alpha_mask
0xff000000 (for 32bpp) or 0x00000000 (for 24bpp and 8bpp)
  bits_per_pixel
Bits per pixel, 0 (?), 8, 24 or 32.
  blue_mask
0x00ff0000 (for 24bpp and 32bpp) or 0x00000000 (for 8bpp)
  bytes_per_pixel
Bytes per pixel (Bits Per Pixel / 8).
  channels
Channel Data
  flags
Flags
  green_mask
0x0000ff00 (for 24bpp and 32bpp) or 0x00000000 (for 8bpp)
  mipmaps
Mipmap descriptions (width, height, offset).
  num_mipmaps
Number of mipmaps in the texture.
  palette
Link to NiPalette, for 8-bit textures.
  pixel_format
The format of the pixels in this internally stored image.
  red_mask
0x000000ff (for 24bpp and 32bpp) or 0x00000000 (for 8bpp)
  unknown_3_bytes
Zero?
  unknown_8_bytes
[96,8,130,0,0,65,0,0] if 24 bits per pixel[129,8,130,32,0,65,12,0] if 32 bits per pixel[34,0,0,0,0,0,0,0] if 8 bits per pixel[4,0,0,0,0,0,0,0] if 0 (?) bits per pixel
  unknown_byte_1
Unknown.
  unknown_int
Seems to always be zero.
  unknown_int_2
Unknown.
  unknown_int_3
Seems to always be zero.
  unknown_int_4
Unkown.

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2ec0e50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eca110>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eca790>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eca810>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eca850>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eca8d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eca950>,
 <pyffi.object_models.xml.StructAttribute object at 0x2ecaa10>,
...

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2ec0e50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eca110>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eca790>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eca810>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eca850>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eca8d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eca950>,
 <pyffi.object_models.xml.StructAttribute object at 0x2ecaa10>,
...

_names

Value:
['pixel_format',
 'red_mask',
 'green_mask',
 'blue_mask',
 'alpha_mask',
 'bits_per_pixel',
 'unknown_3_bytes',
 'unknown_8_bytes',
...

Property Details [hide private]

alpha_mask

0xff000000 (for 32bpp) or 0x00000000 (for 24bpp and 8bpp)
Get Method:
<functools.partial object at 0x2f832b8>
Set Method:
<functools.partial object at 0x2f83310>

bits_per_pixel

Bits per pixel, 0 (?), 8, 24 or 32.
Get Method:
<functools.partial object at 0x2f83730>
Set Method:
<functools.partial object at 0x2f83788>

blue_mask

0x00ff0000 (for 24bpp and 32bpp) or 0x00000000 (for 8bpp)
Get Method:
<functools.partial object at 0x2f831b0>
Set Method:
<functools.partial object at 0x2f83208>

bytes_per_pixel

Bytes per pixel (Bits Per Pixel / 8).
Get Method:
<functools.partial object at 0x2f83f18>
Set Method:
<functools.partial object at 0x2f83f70>

channels

Channel Data
Get Method:
<functools.partial object at 0x2f83c58>

flags

Flags
Get Method:
<functools.partial object at 0x2f83940>
Set Method:
<functools.partial object at 0x2f83998>

green_mask

0x0000ff00 (for 24bpp and 32bpp) or 0x00000000 (for 8bpp)
Get Method:
<functools.partial object at 0x2f830a8>
Set Method:
<functools.partial object at 0x2f83100>

mipmaps

Mipmap descriptions (width, height, offset).
Get Method:
<functools.partial object at 0x2f85050>

num_mipmaps

Number of mipmaps in the texture.
Get Method:
<functools.partial object at 0x2f83e10>
Set Method:
<functools.partial object at 0x2f83e68>

palette

Link to NiPalette, for 8-bit textures.
Get Method:
<functools.partial object at 0x2f83d08>
Set Method:
<functools.partial object at 0x2f83d60>

pixel_format

The format of the pixels in this internally stored image.
Get Method:
<functools.partial object at 0x2ecfe68>
Set Method:
<functools.partial object at 0x2ecfec0>

red_mask

0x000000ff (for 24bpp and 32bpp) or 0x00000000 (for 8bpp)
Get Method:
<functools.partial object at 0x2ecff70>
Set Method:
<functools.partial object at 0x2ecffc8>

unknown_3_bytes

Zero?
Get Method:
<functools.partial object at 0x2f834c8>

unknown_8_bytes

[96,8,130,0,0,65,0,0] if 24 bits per pixel[129,8,130,32,0,65,12,0] if 32 bits per pixel[34,0,0,0,0,0,0,0] if 8 bits per pixel[4,0,0,0,0,0,0,0] if 0 (?) bits per pixel
Get Method:
<functools.partial object at 0x2f83578>

unknown_byte_1

Unknown.
Get Method:
<functools.partial object at 0x2f83b50>
Set Method:
<functools.partial object at 0x2f83ba8>

unknown_int

Seems to always be zero.
Get Method:
<functools.partial object at 0x2f83628>
Set Method:
<functools.partial object at 0x2f83680>

unknown_int_2

Unknown. Could be reference pointer.
Get Method:
<functools.partial object at 0x2f83470>
Set Method:
<functools.partial object at 0x2f83418>

unknown_int_3

Seems to always be zero.
Get Method:
<functools.partial object at 0x2f83838>
Set Method:
<functools.partial object at 0x2f83890>

unknown_int_4

Unkown. Often zero.
Get Method:
<functools.partial object at 0x2f83a48>
Set Method:
<functools.partial object at 0x2f83aa0>