Exemplo n.º 1
0
        /// <summary>To be documented.</summary>
        public readonly unsafe int LockRect(uint Level, LockedRect *pLockedRect, Silk.NET.Maths.Rectangle <long> *pRect, uint Flags)
        {
            var @this = (IDirect3DTexture9 *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            ret = ((delegate * unmanaged[Cdecl] < IDirect3DTexture9 *, uint, LockedRect *, Silk.NET.Maths.Rectangle <long> *, uint, int >)LpVtbl[19])(@this, Level, pLockedRect, pRect, Flags);
            return(ret);
        }
Exemplo n.º 2
0
        /// <summary>To be documented.</summary>
        public readonly unsafe int LockRect(LockedRect *pLockedRect, ref Silk.NET.Maths.Rectangle <long> pRect, uint Flags)
        {
            var @this = (IDirect3DSurface9 *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            fixed(Silk.NET.Maths.Rectangle <long> *pRectPtr = &pRect)
            {
                ret = ((delegate * unmanaged[Cdecl] < IDirect3DSurface9 *, LockedRect *, Silk.NET.Maths.Rectangle <long> *, uint, int >)LpVtbl[13])(@this, pLockedRect, pRectPtr, Flags);
            }

            return(ret);
        }
        /// <summary>To be documented.</summary>
        public readonly unsafe int LockRect(CubemapFaces FaceType, uint Level, LockedRect *pLockedRect, ref Silk.NET.Maths.Rectangle <long> pRect, uint Flags)
        {
            var @this = (IDirect3DCubeTexture9 *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            fixed(Silk.NET.Maths.Rectangle <long> *pRectPtr = &pRect)
            {
                ret = ((delegate * unmanaged[Cdecl] < IDirect3DCubeTexture9 *, CubemapFaces, uint, LockedRect *, Silk.NET.Maths.Rectangle <long> *, uint, int >)LpVtbl[19])(@this, FaceType, Level, pLockedRect, pRectPtr, Flags);
            }

            return(ret);
        }