Add GDSOFTCLASS to deeper inheritors of Object
This commit is contained in:
@ -54,6 +54,8 @@
|
||||
#endif
|
||||
|
||||
class PhysicsServer2DWrapMT : public PhysicsServer2D {
|
||||
GDSOFTCLASS(PhysicsServer2DWrapMT, PhysicsServer2D);
|
||||
|
||||
mutable PhysicsServer2D *physics_server_2d = nullptr;
|
||||
|
||||
mutable CommandQueueMT command_queue;
|
||||
|
||||
@ -55,6 +55,8 @@
|
||||
#endif
|
||||
|
||||
class PhysicsServer3DWrapMT : public PhysicsServer3D {
|
||||
GDSOFTCLASS(PhysicsServer3DWrapMT, PhysicsServer3D);
|
||||
|
||||
mutable PhysicsServer3D *physics_server_3d = nullptr;
|
||||
|
||||
mutable CommandQueueMT command_queue;
|
||||
|
||||
@ -86,6 +86,8 @@ struct VersatileResourceTemplate {
|
||||
};
|
||||
|
||||
class RenderingDeviceDriver : public RenderingDeviceCommons {
|
||||
GDSOFTCLASS(RenderingDeviceDriver, RenderingDeviceCommons);
|
||||
|
||||
public:
|
||||
struct ID {
|
||||
uint64_t id = 0;
|
||||
|
||||
@ -42,6 +42,8 @@
|
||||
#include "servers/server_wrap_mt_common.h"
|
||||
|
||||
class RenderingServerDefault : public RenderingServer {
|
||||
GDSOFTCLASS(RenderingServerDefault, RenderingServer);
|
||||
|
||||
enum {
|
||||
MAX_INSTANCE_CULL = 8192,
|
||||
MAX_INSTANCE_LIGHTS = 4,
|
||||
|
||||
@ -150,6 +150,8 @@ public:
|
||||
};
|
||||
|
||||
class RenderingShaderContainerFormat : public RenderingDeviceCommons {
|
||||
GDSOFTCLASS(RenderingShaderContainerFormat, RenderingDeviceCommons);
|
||||
|
||||
public:
|
||||
virtual Ref<RenderingShaderContainer> create_container() const = 0;
|
||||
virtual ShaderLanguageVersion get_shader_language_version() const = 0;
|
||||
|
||||
Reference in New Issue
Block a user