mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
implement #1992
add debugname to settings table for texture and buffer, which can be used for debugging in e.g. RenderDoc.
This commit is contained in:
@@ -175,6 +175,7 @@ public:
|
||||
SETTING_RENDER_TARGET,
|
||||
SETTING_COMPUTE_WRITE,
|
||||
SETTING_READABLE,
|
||||
SETTING_DEBUGNAME,
|
||||
SETTING_MAX_ENUM
|
||||
};
|
||||
|
||||
@@ -194,6 +195,7 @@ public:
|
||||
bool renderTarget = false;
|
||||
bool computeWrite = false;
|
||||
OptionalBool readable;
|
||||
std::string debugName;
|
||||
};
|
||||
|
||||
struct Slices
|
||||
|
||||
Reference in New Issue
Block a user