mirror of
				https://notabug.org/scuti/lib3ddevil1
				synced 2025-05-31 14:11:42 +05:30 
			
		
		
		
	Updated example for current version of python interface
This commit is contained in:
		@@ -220,8 +220,7 @@ Example Logic: Extract Textures
 | 
			
		||||
        size = bd.gettexturesize()
 | 
			
		||||
        for texture in tx.gettextures():
 | 
			
		||||
            with open(filename + str(i) + ".dds", "wb") as fw:
 | 
			
		||||
                image = cast(texture.data, POINTER(c_ubyte * size))[0]
 | 
			
		||||
                fw.write(image)
 | 
			
		||||
                fw.write(texture)
 | 
			
		||||
            i += 1
 | 
			
		||||
 | 
			
		||||
Example Logic: Iterate through all MeshHeaders and Meshes:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user