Sign in to follow this  
khofez

Content pipeline

Recommended Posts

It's been a while since I used it but as far as I remember the content pipeline stuff in XNA uses reflection and custom attributes to bind the various content readers, processors and writers together. That's not going to easily translate to straight C++ code, so "write that code again in C++" may actually become "implement the same concepts another way in C++."

 

Rather than replicating the specific features of a certain library, what is the problem you're trying to solve? What is your input data? What format of output do you need? Bear in mind that most common file formats and data types will have existing import or conversion libraries or tools that you can use.

Share this post


Link to post
Share on other sites

In addition to what Hodgman said, Microsoft provides documentation for the .xnb format and a parser for it which is written in native C++. This parser outputs information about the original file data and format as it's encoded. This will let you load .xnb's in a non-XNA environment. The MonoGame team probably used this to write the pipeline code for their own framework.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this