Sign in to follow this  
acid2

[MDX October] How do I write to a GraphicsBuffer?

Recommended Posts

Hi, The function signiture for the Write member method of GraphicsStream no longer accepts an arbitary array, it only accepts byte[]. How do I generate a byte array from an array of PositionNormalTextured ? Do I have to serialize it into a memory stream, and then use ToArray() on that? Seems like it would slow performence... Thanks, aCiD2

Share this post


Link to post
Share on other sites
I would avoid this latest MDX release. Tom Miller forgot to include a whole bunch of pieces of it and it is really a beta mess. Unless you intend to beta test this version, fall back to Augest.

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