Style: Apply new clang-format changes
This commit is contained in:
@ -32,7 +32,7 @@
|
||||
|
||||
#include "core/input/input.h"
|
||||
|
||||
void XRControllerTracker::_bind_methods(){};
|
||||
void XRControllerTracker::_bind_methods() {}
|
||||
|
||||
XRControllerTracker::XRControllerTracker() {
|
||||
type = XRServer::TRACKER_CONTROLLER;
|
||||
|
||||
@ -137,10 +137,10 @@ public:
|
||||
virtual RID get_color_texture(); /* obtain color output texture (if applicable) */
|
||||
virtual RID get_depth_texture(); /* obtain depth output texture (if applicable, used for reprojection) */
|
||||
virtual RID get_velocity_texture(); /* obtain velocity output texture (if applicable, used for spacewarp) */
|
||||
virtual void pre_render(){};
|
||||
virtual void pre_render() {}
|
||||
virtual bool pre_draw_viewport(RID p_render_target) { return true; }; /* inform XR interface we are about to start our viewport draw process */
|
||||
virtual Vector<BlitToScreen> post_draw_viewport(RID p_render_target, const Rect2 &p_screen_rect) = 0; /* inform XR interface we finished our viewport draw process */
|
||||
virtual void end_frame(){};
|
||||
virtual void end_frame() {}
|
||||
|
||||
/** passthrough **/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user