d_particle OK

This commit is contained in:
robojumper
2025-05-02 23:56:58 +02:00
parent 594bc67d67
commit 207c3706b4
9 changed files with 322 additions and 34 deletions
+14
View File
@@ -90,6 +90,13 @@ public:
mWrapT = wrap;
}
GXTexWrapMode getWrapS() const {
return (GXTexWrapMode)mWrapS;
}
GXTexWrapMode getWrapT() const {
return (GXTexWrapMode)mWrapT;
}
void setWrap(GXTexWrapMode wrapS, GXTexWrapMode wrapT) {
mWrapS = wrapS;
mWrapT = wrapT;
@@ -107,6 +114,13 @@ public:
mMagFilt = filt;
}
GXTexFilter getMinFilt() const {
return (GXTexFilter)mMinFilt;
}
GXTexFilter getMagFilt() const {
return (GXTexFilter)mMagFilt;
}
ResTIMG *getHeader() const {
return (ResTIMG *)((u8 *)dataPtr - sizeof(ResTIMG));
}