ext_texture_format and first_frame_drawn for swapchaing copying

This commit is contained in:
Nordup 2024-07-13 06:14:03 +04:00
parent 644a8bb969
commit 78ad658f06
7 changed files with 151 additions and 49 deletions

View file

@ -2,6 +2,8 @@ extends Resource
class_name CommandEvents
signal send_filehandle(filehandle_path: String)
signal ext_texture_format(format: RenderingDevice.DataFormat)
signal first_frame_drawn()
signal set_mouse_mode(mode: int)
@ -9,5 +11,13 @@ func send_filehandle_emit(filehandle_path: String) -> void:
send_filehandle.emit(filehandle_path)
func ext_texture_format_emit(format: RenderingDevice.DataFormat) -> void:
ext_texture_format.emit(format)
func first_frame_drawn_emit() -> void:
first_frame_drawn.emit()
func set_mouse_mode_emit(mode: int) -> void:
set_mouse_mode.emit(mode)