Example #1
0
            internal static _SetLastZTest SetLastZTest()
            {
                if (_SetLastZTestFunc == null)
                {
                    _SetLastZTestFunc =
                        (_SetLastZTest)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnDebugDrawer_setLastZTest"), typeof(_SetLastZTest));
                }

                return(_SetLastZTestFunc);
            }
Example #2
0
            internal static _SetLastZTest SetLastZTest()
            {
                if (_SetLastZTestFunc == null)
                {
                    _SetLastZTestFunc =
                        (_SetLastZTest)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnDebugDrawer_setLastZTest"), typeof(_SetLastZTest));
                }

                return(_SetLastZTestFunc);
            }