mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-09 04:38:30 +09:00
[Chore]: separate TextureObject child classes into individual files
This commit is contained in:
@@ -274,33 +274,6 @@ namespace MobileGL {
|
||||
TextureSwizzleParam::Blue, TextureSwizzleParam::Alpha};
|
||||
UintVec2 m_levelRange = {0, 1000};
|
||||
};
|
||||
|
||||
class TextureObject1D : public TextureObjectBase {
|
||||
public:
|
||||
explicit TextureObject1D(Uint externalIndex);
|
||||
|
||||
protected:
|
||||
void SetMipmapImpl(const MipmapLevelInput& level) override;
|
||||
};
|
||||
|
||||
class TextureObject2D : public TextureObjectBase {
|
||||
public:
|
||||
explicit TextureObject2D(Uint externalIndex);
|
||||
|
||||
protected:
|
||||
void SetMipmapImpl(const MipmapLevelInput& level) override;
|
||||
};
|
||||
|
||||
class TextureObject3D : public TextureObjectBase {
|
||||
public:
|
||||
explicit TextureObject3D(Uint externalIndex);
|
||||
|
||||
protected:
|
||||
void SetMipmapImpl(const MipmapLevelInput& level) override;
|
||||
};
|
||||
|
||||
// TODO: add other texture types as needed
|
||||
|
||||
} // namespace GLState
|
||||
} // namespace MG_State
|
||||
} // namespace MobileGL
|
||||
|
||||
Reference in New Issue
Block a user