Beispiel #1
0
        public static unsafe void LoadPixelShader(GSShader shader)
        {
            IntPtr ptr = IntPtr.Zero;

            if (shader != null)
            {
                ptr = shader.GetPointer();
            }

            libobs.gs_load_pixelshader(ptr);
        }
Beispiel #2
0
        public static unsafe void LoadVertexShader(GSShader shader)
        {
            IntPtr ptr = IntPtr.Zero;

            if (shader != null)
                ptr = shader.GetPointer();

            libobs.gs_load_vertexshader(ptr);
        }