Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

about gpu memory cost


tinybee
 Share

Recommended Posts

hi guys,
We use pixi-spine for rendering, but  
I have a runtime question:

phase01:
one json file, one png

vs

phase02:
one separate to more jsons, but same png

does the phase02 will multiply the memory cost of the same png in gpu?
I mean that more json files with the same png, will it multiply the png memory cost?
 

sorry for my bad english
thanks for your replying

Link to comment
Share on other sites

13 hours ago, ivan.popelyshev said:

there's a way to use same BaseTexture for all of your spine models. I forgot which one, but there was an issue: https://github.com/pixijs/pixi.js/issues?utf8=✓&q=is%3Aissue+

same png, different atlases => only one BaseTexture. If you do it right.

hey ivan,

thanks for your answer
if I realize correctly, the more jsons i use will make more BaseTextures right?

I did a littile search for keyworld: "base texture" and I found these:
https://github.com/pixijs/pixi.js/issues/4472

http://www.html5gamedevs.com/topic/30682-difference-between-texture-and-new-pixitexture/

do you mean theses ways too?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...