mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
metal: nogame and error screens work.
- implement love.graphics.setColor - implement default textures - hacky implementation of default uniform data - use texture swizzles to set up LA8 (text) texture data - shader reflection work
This commit is contained in:
@@ -36,7 +36,14 @@ class Metal
|
||||
{
|
||||
public:
|
||||
|
||||
static MTLPixelFormat convertPixelFormat(PixelFormat format, bool &isSRGB);
|
||||
struct PixelFormatDesc
|
||||
{
|
||||
MTLPixelFormat format;
|
||||
bool swizzled = false;
|
||||
MTLTextureSwizzleChannels swizzle;
|
||||
};
|
||||
|
||||
static PixelFormatDesc convertPixelFormat(PixelFormat format, bool &isSRGB);
|
||||
|
||||
}; // Metal
|
||||
|
||||
|
||||
Reference in New Issue
Block a user