예제 #1
0
            internal static _SetShaderConst SetShaderConst()
            {
                if (_SetShaderConstFunc == null)
                {
                    _SetShaderConstFunc =
                        (_SetShaderConst)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPostEffect_setShaderConst"), typeof(_SetShaderConst));
                }

                return(_SetShaderConstFunc);
            }
예제 #2
0
            internal static _SetShaderConst SetShaderConst()
            {
                if (_SetShaderConstFunc == null)
                {
                    _SetShaderConstFunc =
                        (_SetShaderConst)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPostEffect_setShaderConst"), typeof(_SetShaderConst));
                }

                return(_SetShaderConstFunc);
            }