Exemplo n.º 1
0
            internal static _ClearShaderMacros ClearShaderMacros()
            {
                if (_ClearShaderMacrosFunc == null)
                {
                    _ClearShaderMacrosFunc =
                        (_ClearShaderMacros)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPostEffect_clearShaderMacros"), typeof(_ClearShaderMacros));
                }

                return(_ClearShaderMacrosFunc);
            }
Exemplo n.º 2
0
            internal static _ClearShaderMacros ClearShaderMacros()
            {
                if (_ClearShaderMacrosFunc == null)
                {
                    _ClearShaderMacrosFunc =
                        (_ClearShaderMacros)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPostEffect_clearShaderMacros"), typeof(_ClearShaderMacros));
                }

                return(_ClearShaderMacrosFunc);
            }