public int Map(uint Subresource, D3D10_MAP MapType, uint MapFlags, ref D3D10_MAPPED_TEXTURE3D pMappedTex3D)
 {
     if (m_MapFunc == null)
     {
         var fp = GetFunctionPointer(10);
         m_MapFunc = (MapFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(MapFunc));
     }
     return(m_MapFunc(m_ptr, Subresource, MapType, MapFlags, ref pMappedTex3D));
 }
Exemple #2
0
 public int Map(uint Subresource, D3D10_MAP MapType, uint MapFlags, ref IntPtr ppData)
 {
     if (m_MapFunc == null)
     {
         var fp = GetFunctionPointer(10);
         m_MapFunc = (MapFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(MapFunc));
     }
     return(m_MapFunc(m_ptr, Subresource, MapType, MapFlags, ref ppData));
 }
Exemple #3
0
        public virtual int Map(
            D3D10_MAP MapType,
            uint MapFlags,
            out IntPtr ppData
            )
        {
            var fp = GetFunctionPointer(10);

            if (m_MapFunc == null)
            {
                m_MapFunc = (MapFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(MapFunc));
            }

            return(m_MapFunc(m_ptr, MapType, MapFlags, out ppData));
        }
Exemple #4
0
        public virtual int Map(
            uint Subresource,
            D3D10_MAP MapType,
            uint MapFlags,
            out D3D10_MAPPED_TEXTURE2D pMappedTex2D
            )
        {
            var fp = GetFunctionPointer(10);

            if (m_MapFunc == null)
            {
                m_MapFunc = (MapFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(MapFunc));
            }

            return(m_MapFunc(m_ptr, Subresource, MapType, MapFlags, out pMappedTex2D));
        }
 public int Map(D3D10_MAP MapType, [NativeTypeName("UINT")] uint MapFlags, [NativeTypeName("void **")] void **ppData)
 {
     return(((delegate * unmanaged <ID3D10Buffer *, D3D10_MAP, uint, void **, int>)(lpVtbl[10]))((ID3D10Buffer *)Unsafe.AsPointer(ref this), MapType, MapFlags, ppData));
 }
Exemple #6
0
 public int Map([NativeTypeName("UINT")] uint Subresource, D3D10_MAP MapType, [NativeTypeName("UINT")] uint MapFlags, [NativeTypeName("D3D10_MAPPED_TEXTURE2D *")] D3D10_MAPPED_TEXTURE2D *pMappedTex2D)
 {
     return(((delegate * unmanaged <ID3D10Texture2D *, uint, D3D10_MAP, uint, D3D10_MAPPED_TEXTURE2D *, int>)(lpVtbl[10]))((ID3D10Texture2D *)Unsafe.AsPointer(ref this), Subresource, MapType, MapFlags, pMappedTex2D));
 }
Exemple #7
0
 public HRESULT Map(uint Subresource, D3D10_MAP MapType, uint MapFlags, D3D10_MAPPED_TEXTURE2D *pMappedTex2D)
 {
     return(((delegate * unmanaged <ID3D10Texture2D *, uint, D3D10_MAP, uint, D3D10_MAPPED_TEXTURE2D *, int>)(lpVtbl[10]))((ID3D10Texture2D *)Unsafe.AsPointer(ref this), Subresource, MapType, MapFlags, pMappedTex2D));
 }
 public int Map([NativeTypeName("UINT")] uint Subresource, D3D10_MAP MapType, [NativeTypeName("UINT")] uint MapFlags, void **ppData)
 {
     return(((delegate * unmanaged <ID3D10Texture1D *, uint, D3D10_MAP, uint, void **, int>)(lpVtbl[10]))((ID3D10Texture1D *)Unsafe.AsPointer(ref this), Subresource, MapType, MapFlags, ppData));
 }
 public HRESULT Map(D3D10_MAP MapType, uint MapFlags, void **ppData)
 {
     return(((delegate * unmanaged <ID3D10Buffer *, D3D10_MAP, uint, void **, int>)(lpVtbl[10]))((ID3D10Buffer *)Unsafe.AsPointer(ref this), MapType, MapFlags, ppData));
 }