public virtual void GetDesc(
            out D3D10_DEPTH_STENCIL_DESC pDesc
            )
        {
            var fp = GetFunctionPointer(7);

            if (m_GetDescFunc == null)
            {
                m_GetDescFunc = (GetDescFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetDescFunc));
            }

            m_GetDescFunc(m_ptr, out pDesc);
        }
示例#2
0
        public virtual int GetBackingStore(
            uint Index,
            out D3D10_DEPTH_STENCIL_DESC pDepthStencilDesc
            )
        {
            var fp = GetFunctionPointer(26);

            if (m_GetBackingStoreFunc == null)
            {
                m_GetBackingStoreFunc = (GetBackingStoreFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetBackingStoreFunc));
            }

            return(m_GetBackingStoreFunc(m_ptr, Index, out pDepthStencilDesc));
        }