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

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

            m_GetDescFunc(m_ptr, out pDesc);
        }
Example #2
0
        public virtual int GetBackingStore(
            uint Index,
            out D3D10_RASTERIZER_DESC pRasterizerDesc
            )
        {
            var fp = GetFunctionPointer(26);

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

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