{"action":"opened","issue":{"url":"https://api.github.com/repos/mono/MonoGame/issues/3872","labels_url":"https://api.github.com/repos/mono/MonoGame/issues/3872/labels{/name}","comments_url":"https://api.github.com/repos/mono/MonoGame/issues/3872/comments","events_url":"https://api.github.com/repos/mono/MonoGame/issues/3872/events","html_url":"https://github.com/mono/MonoGame/issues/3872","id":80191572,"number":3872,"title":"Content Pipeline Existing Implementation Isn't Exposed","user":{"login":"ollipekka","id":203520,"avatar_url":"https://avatars.githubusercontent.com/u/203520?v=3","gravatar_id":"","url":"https://api.github.com/users/ollipekka","html_url":"https://github.com/ollipekka","followers_url":"https://api.github.com/users/ollipekka/followers","following_url":"https://api.github.com/users/ollipekka/following{/other_user}","gists_url":"https://api.github.com/users/ollipekka/gists{/gist_id}","starred_url":"https://api.github.com/users/ollipekka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ollipekka/subscriptions","organizations_url":"https://api.github.com/users/ollipekka/orgs","repos_url":"https://api.github.com/users/ollipekka/repos","events_url":"https://api.github.com/users/ollipekka/events{/privacy}","received_events_url":"https://api.github.com/users/ollipekka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-24T15:34:53Z","updated_at":"2015-05-24T15:34:53Z","closed_at":null,"body":"As a user who is trying to implement Content Pipeline Extension that deals with graphics, I'm unable to reproduce things like Texture2DReader, because ContentReader.GraphicsDevice is internal.\r\n\r\nIn my use case, I'm trying to implement TextureAtlas content pipeline extension. It reads TextureAtlas which contains dictionary of regions and an image. I'm not able to initiate new Texture2D, because I can't get handle to a GraphicsDevice.\r\n\r\nTo reproduce this, copy contents of https://github.com/mono/MonoGame/blob/develop/MonoGame.Framework/Content/ContentReaders/Texture2DReader.cs to a custom extension. It doesn't compile.\r\n"}}