Move Canvas:getMSAA to Texture:getMSAA.

This commit is contained in:
Alex Szpakowski
2020-02-03 19:26:11 -04:00
parent 323f86f31e
commit fc0d60a96d
7 changed files with 24 additions and 17 deletions
+7
View File
@@ -181,6 +181,8 @@ public:
void drawLayer(Graphics *gfx, int layer, const Matrix4 &m);
void drawLayer(Graphics *gfx, int layer, Quad *quad, const Matrix4 &m);
virtual ptrdiff_t getRenderTargetHandle() const = 0;
TextureType getTextureType() const;
PixelFormat getPixelFormat() const;
@@ -203,6 +205,9 @@ public:
float getDPIScale() const;
int getRequestedMSAA() const;
virtual int getMSAA() const = 0;
virtual void setSamplerState(const SamplerState &s);
const SamplerState &getSamplerState() const;
@@ -242,6 +247,8 @@ protected:
int pixelWidth;
int pixelHeight;
int requestedMSAA;
SamplerState samplerState;
StrongRef<Quad> quad;