Exemplo n.º 1
0
        /// <summary>To be documented.</summary>
        public readonly unsafe int LockBox(LockedBox *pLockedVolume, Box *pBox, uint Flags)
        {
            var @this = (IDirect3DVolume9 *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            ret = ((delegate * unmanaged[Cdecl] < IDirect3DVolume9 *, LockedBox *, Box *, uint, int >)LpVtbl[9])(@this, pLockedVolume, pBox, Flags);
            return(ret);
        }
        /// <summary>To be documented.</summary>
        public readonly unsafe int LockBox(uint Level, LockedBox *pLockedVolume, ref Box pBox, uint Flags)
        {
            var @this = (IDirect3DVolumeTexture9 *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            fixed(Box *pBoxPtr = &pBox)
            {
                ret = ((delegate * unmanaged[Cdecl] < IDirect3DVolumeTexture9 *, uint, LockedBox *, Box *, uint, int >)LpVtbl[19])(@this, Level, pLockedVolume, pBoxPtr, Flags);
            }

            return(ret);
        }