示例#1
0
        /// <summary>To be documented.</summary>
        public readonly unsafe int GetAdapterDisplayMode(uint Adapter, Displaymode *pMode)
        {
            var @this = (IDirect3D9 *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            ret = ((delegate * unmanaged[Cdecl] < IDirect3D9 *, uint, Displaymode *, int >)LpVtbl[8])(@this, Adapter, pMode);
            return(ret);
        }
        /// <summary>To be documented.</summary>
        public readonly unsafe int GetDisplayMode(Displaymode *pMode)
        {
            var @this = (IDirect3DSwapChain9 *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            ret = ((delegate * unmanaged[Cdecl] < IDirect3DSwapChain9 *, Displaymode *, int >)LpVtbl[7])(@this, pMode);
            return(ret);
        }
示例#3
0
        /// <summary>To be documented.</summary>
        public readonly unsafe int EnumAdapterModes(uint Adapter, Format Format, uint Mode, Displaymode *pMode)
        {
            var @this = (IDirect3D9 *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            ret = ((delegate * unmanaged[Cdecl] < IDirect3D9 *, uint, Format, uint, Displaymode *, int >)LpVtbl[7])(@this, Adapter, Format, Mode, pMode);
            return(ret);
        }