mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Move Canvas:getMSAA to Texture:getMSAA.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user