Example #1
0
        public static unsafe void LoadIndexBuffer(GSIndexBuffer indexBuffer)
        {
            IntPtr ptr = IntPtr.Zero;

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

            libobs.gs_load_indexbuffer(ptr);
        }
Example #2
0
        public static unsafe void LoadIndexBuffer(GSIndexBuffer indexBuffer)
        {
            IntPtr ptr = IntPtr.Zero;

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

            libobs.gs_load_indexbuffer(ptr);
        }