Add named resources and debug labels in RenderDoc
This commit is contained in:
parent
ad0f1c6670
commit
7323cbab4b
9 changed files with 194 additions and 12 deletions
|
|
@ -343,6 +343,12 @@ void RenderingDevice::_bind_methods() {
|
|||
|
||||
ClassDB::bind_method(D_METHOD("create_local_device"), &RenderingDevice::create_local_device);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_resource_name"), &RenderingDevice::set_resource_name);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("draw_command_begin_label", "name", "color"), &RenderingDevice::draw_command_begin_label);
|
||||
ClassDB::bind_method(D_METHOD("draw_command_insert_label", "name", "color"), &RenderingDevice::draw_command_insert_label);
|
||||
ClassDB::bind_method(D_METHOD("draw_command_end_label"), &RenderingDevice::draw_command_end_label);
|
||||
|
||||
BIND_ENUM_CONSTANT(DATA_FORMAT_R4G4_UNORM_PACK8);
|
||||
BIND_ENUM_CONSTANT(DATA_FORMAT_R4G4B4A4_UNORM_PACK16);
|
||||
BIND_ENUM_CONSTANT(DATA_FORMAT_B4G4R4A4_UNORM_PACK16);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue