コード例 #1
0
        /// <summary>To be documented.</summary>
        public readonly unsafe int AddDirtyBox(Box *pDirtyBox)
        {
            var @this = (IDirect3DVolumeTexture9 *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            ret = ((delegate * unmanaged[Cdecl] < IDirect3DVolumeTexture9 *, Box *, int >)LpVtbl[21])(@this, pDirtyBox);
            return(ret);
        }
コード例 #2
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);
        }
コード例 #3
0
        /// <summary>To be documented.</summary>
        public readonly unsafe int LockBox(uint Level, ref LockedBox pLockedVolume, Box *pBox, uint Flags)
        {
            var @this = (IDirect3DVolumeTexture9 *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

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

            return(ret);
        }