// If our major version is 0 or bigger then 10, we're likely looking at our constructor pointer from an older plugin
ERR_FAIL_COND_MSG((p_gdn_interface->version.major==0)||(p_gdn_interface->version.major>10),"GDNative ARVR interfaces build for Godot 3.0 are not supported.");
@ -129,6 +129,11 @@ unsigned int ARVRInterface::get_external_texture_for_eye(ARVRInterface::Eyes p_e
return0;
};
// optional render to external depth texture which enhances performance on those platforms that require us to submit our end result into special textures.
virtualTransformget_transform_for_eye(ARVRInterface::Eyesp_eye,constTransform&p_cam_transform)=0;/* get each eyes camera transform, also implement EYE_MONO */
virtualCameraMatrixget_projection_for_eye(ARVRInterface::Eyesp_eye,real_tp_aspect,real_tp_z_near,real_tp_z_far)=0;/* get each eyes projection matrix */
virtualunsignedintget_external_texture_for_eye(ARVRInterface::Eyesp_eye);/* if applicable return external texture to render to */
virtualunsignedintget_external_depth_for_eye(ARVRInterface::Eyesp_eye);/* if applicable return external depth texture to render to */
virtualvoidcommit_for_eye(ARVRInterface::Eyesp_eye,RIDp_render_target,constRect2&p_screen_rect)=0;/* output the left or right eye */