#include <ResourceManager.hpp>
|
| | TextureWrapper (const std::shared_ptr< SDL_Texture > &texture) |
| |
| SDL_Texture * | get () const |
| |
Wrapper for textures to ensure proper cleanup.
| TextureWrapper::TextureWrapper |
( |
const std::shared_ptr< SDL_Texture > & |
texture | ) |
|
|
inline |
Constructs a texture wrapper.
- Parameters
-
| texture | the texture to wrap. |
| SDL_Texture* TextureWrapper::get |
( |
| ) |
const |
|
inline |
Gets the underlying texture.
The documentation for this struct was generated from the following file:
- D:/Ryan_Temp/GithubProjects/monorepo-RyanRio/Assignment1_Breakout/Game/include/ResourceManager.hpp