aboutsummaryrefslogtreecommitdiff
path: root/source/Texture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Texture.cpp')
-rw-r--r--source/Texture.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Texture.cpp b/source/Texture.cpp
index 8fb657a..6fa7c8a 100644
--- a/source/Texture.cpp
+++ b/source/Texture.cpp
@@ -229,6 +229,7 @@ bool Texture::IsValid() const {
}
Texture* IresTexture::CreateInstance() const {
+ return new Texture();
}
Texture* IresTexture::GetInstance() {
@@ -239,9 +240,11 @@ Texture* IresTexture::GetInstance() {
}
void IresTexture::Write(IresWritingContext& ctx, rapidjson::Value& value, rapidjson::Document& root) const {
+ IresObject::Write(ctx, value, root);
// TODO
}
void IresTexture::Read(IresLoadingContext& ctx, const rapidjson::Value& value) {
+ IresObject::Read(ctx, value);
// TODO
}