1
0
mirror of https://github.com/borgesdan/xn65 synced 2024-12-29 21:54:47 +01:00

Implementações em Texture2DReader

This commit is contained in:
Danilo 2024-05-25 11:39:32 -03:00
parent 41624bf9ed
commit 5510ed8ee2
4 changed files with 6 additions and 5 deletions

View File

@ -5,7 +5,7 @@
### Adjustments and improvements
The project is still under development and the next updates will focus on the following tasks:
- [ ] Finish basic classes
- [x] Finish basic classes
- [ ] Code refactoring and cleaning
- [ ] 3D support
- [ ] Content Pipeline

View File

@ -27,7 +27,7 @@ namespace xna {
void LoadContent() override {
spriteBatch = New<SpriteBatch>(*graphicsDevice);
texture = Content()->Load<sptr<Texture2D>>("idle");
texture = Content()->Load<PTexture2D>("idle");
Game::LoadContent();
}

View File

@ -88,9 +88,6 @@ namespace xna {
struct GamePadState;
struct KeyboardState;
struct MouseState;
//Pointer
using PTexture2D = std::shared_ptr<Texture2D>;
}
#endif

View File

@ -32,6 +32,10 @@ namespace xna {
struct PlatformImplementation;
uptr<PlatformImplementation> impl = nullptr;
};
using PTexture2D = sptr<Texture2D>;
using UTexture2D = uptr<Texture2D>;
}
#endif