コード例 #1
0
        public virtual void GetDesc(
            out D3D10_BLEND_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_BLEND_DESC pBlendDesc
            )
        {
            var fp = GetFunctionPointer(26);

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

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