public virtual int GetDesc(
            out _D3D11_PARAMETER_DESC pDesc
            )
        {
            var fp = GetFunctionPointer(0);

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

            return(m_GetDescFunc(m_ptr, out pDesc));
        }
Exemple #2
0
        public virtual int SetOutputSignature(
            ref _D3D11_PARAMETER_DESC pOutputParameters,
            uint cOutputParameters,
            out ID3D11LinkingNode ppOutputNode
            )
        {
            var fp = GetFunctionPointer(5);

            if (m_SetOutputSignatureFunc == null)
            {
                m_SetOutputSignatureFunc = (SetOutputSignatureFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(SetOutputSignatureFunc));
            }
            ppOutputNode = new ID3D11LinkingNode();
            return(m_SetOutputSignatureFunc(m_ptr, ref pOutputParameters, cOutputParameters, out ppOutputNode.PtrForNew));
        }