mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
metal: initial sampler cache implementation
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
#include "graphics/Graphics.h"
|
||||
#include "Metal.h"
|
||||
|
||||
#include <map>
|
||||
|
||||
@class CAMetalLayer;
|
||||
@protocol CAMetalDrawable;
|
||||
|
||||
@@ -187,6 +189,8 @@ private:
|
||||
uint32 dirtyRenderState;
|
||||
bool windowHasStencil;
|
||||
|
||||
std::map<uint64, void *> cachedSamplers;
|
||||
|
||||
}; // Graphics
|
||||
|
||||
} // metal
|
||||
|
||||
Reference in New Issue
Block a user