Jump to content

IMG_File : tag handling


Recommended Posts

Hi,

 

  I see that other formats have available tags.

 

  I am wondering how those are setup.

 

  I tried setting things up in my

 

        class IMG_PPMFormat : public IMG_Format {

                virtual void        defaultTags(IMG_FileTagList &tags) const

                   {
                   tags.setTag("binary","off");
                   }

        }

 

  But it does not show up

 

  I see a comment about only IMG_Format being allowed to call initializeTag

 

  How are tags, global options and texture options related, if at all ?

 

Cheers

 

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.

×
×
  • Create New...