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

Class NiPersistentSrcTextureRendererData

source code

                  object --+                            
                           |                            
      utils.graph.DetailNode --+                        
                               |                        
          utils.graph.GlobalNode --+                    
                                   |                    
object_models.xml.struct_.StructBase --+                
                                       |                
                     NifFormat._NiObject --+            
                                           |            
                          NifFormat.NiObject --+        
                                               |        
                   NifFormat._ATextureRenderData --+    
                                                   |    
                        NifFormat.ATextureRenderData --+
                                                       |
                                                      NifFormat.NiPersistentSrcTextureRendererData

Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]

Inherited from ATextureRenderData: save_as_dds

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 = {}
  _is_template = False
  _names = ['pixel_format', 'red_mask', 'green_mask', 'blue_mask...

Inherited from _ATextureRenderData (private): _has_links, _has_refs

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  num_faces
Unknown
  num_pixels
Unknown
  pixel_data
Raw pixel data holding the mipmaps.
  unknown_int_6
Unknown, same as the number of pixels? / number of blocks?
  unknown_int_7
Unknown

Inherited from _ATextureRenderData: alpha_mask, bits_per_pixel, blue_mask, bytes_per_pixel, channels, flags, green_mask, mipmaps, num_mipmaps, palette, pixel_format, red_mask, unknown_3_bytes, unknown_8_bytes, unknown_byte_1, unknown_int, unknown_int_2, unknown_int_3, unknown_int_4

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 0x2eca150>,
 <pyffi.object_models.xml.StructAttribute object at 0x2ecaf50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2ecaf90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2ecafd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f86090>]

_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]

num_faces

Unknown
Get Method:
<functools.partial object at 0x2f853c0>
Set Method:
<functools.partial object at 0x2f85418>

num_pixels

Unknown
Get Method:
<functools.partial object at 0x2f851b0>
Set Method:
<functools.partial object at 0x2f85208>

pixel_data

Raw pixel data holding the mipmaps. Mipmap zero is the full-size texture and they get smaller by half as the number increases.
Get Method:
<functools.partial object at 0x2f855d0>

unknown_int_6

Unknown, same as the number of pixels? / number of blocks?
Get Method:
<functools.partial object at 0x2f852b8>
Set Method:
<functools.partial object at 0x2f85310>

unknown_int_7

Unknown
Get Method:
<functools.partial object at 0x2f854c8>
Set Method:
<functools.partial object at 0x2f85520>