Original Post
During creating a custom content importer/processor for a mapping format, I realised it would be handy to grab a handle to the current GraphicsDevice, however I think I'm missing a bit of logic. When the content manager is asked to load a Model, the BasicEffect attached to each ModelMeshPart has a handle to the GraphicsDevice, this is what I want to do with my own loaded content, although I'm just not sure at what point I would be able to find a handle to it. I should make clear that I am not using the Model class, nor will be able to.
Does anyone know how I would be able to achieve this? I'd rather not have to require that the user of my importer/processor must pass the handle after calling Content.Load<>()
Thanks for your help.
Aimee
Does anyone know how I would be able to achieve this? I'd rather not have to require that the user of my importer/processor must pass the handle after calling Content.Load<>()
Thanks for your help.
Aimee