1#pragma once
2
3#include <nvn/nvn.h>
4#include <basis/seadTypes.h>
5
6namespace agl::driver {
7
8class NVNtexture_ {
9public:
10 NVNtexture_();
11 NVNtexture_(const NVNtexture_& other);
12 ~NVNtexture_();
13
14 void releaseTexture();
15 void updateTexId_(s32 newID);
16 NVNtexture_ operator=(const NVNtexture_& other);
17 bool registerTexture(const NVNtexture*, const NVNtextureView*, const char*, bool);
18
19 void setReference_() const;
20
21private:
22 NVNtexture mTexture;
23 s32 mTextureID;
24 u8 _c4;
25 u8 _c5;
26 u8 _c6;
27 u8 _c7;
28};
29
30} // namespace agl::driver
31