コード例 #1
0
        public static unsafe void LoadTexture(GSTexture texture, int unit)
        {
            IntPtr ptr = IntPtr.Zero;

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

            libobs.gs_load_texture(ptr, unit);
        }
コード例 #2
0
ファイル: GS.cs プロジェクト: GoaLitiuM/libobs-sharp
        public static unsafe void LoadTexture(GSTexture texture, int unit)
        {
            IntPtr ptr = IntPtr.Zero;

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

            libobs.gs_load_texture(ptr, unit);
        }