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

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

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

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

            return(ret);
        }