mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
metal: some fixes for MSAA
This commit is contained in:
@@ -123,6 +123,8 @@ public:
|
||||
id<MTLCommandBuffer> getCommandBuffer() const { return commandBuffer; }
|
||||
void submitCommandBuffer(SubmitType type);
|
||||
|
||||
void submitAllEncoders(SubmitType type);
|
||||
|
||||
id<MTLRenderCommandEncoder> useRenderEncoder();
|
||||
id<MTLRenderCommandEncoder> getRenderEncoder() const { return renderEncoder; }
|
||||
void submitRenderEncoder(SubmitType type);
|
||||
@@ -141,6 +143,8 @@ public:
|
||||
Buffer *getDefaultAttributesBuffer() const { return defaultAttributesBuffer; }
|
||||
Texture *getDefaultTexture(TextureType textype) const { return defaultTextures[textype]; }
|
||||
|
||||
int getClosestMSAASamples(int requestedsamples);
|
||||
|
||||
static Graphics *getInstance() { return graphicsInstance; }
|
||||
|
||||
id<MTLDevice> device;
|
||||
|
||||
Reference in New Issue
Block a user