예제 #1
0
        public virtual int GetInputParameterDesc(
            uint ParameterIndex,
            out _D3D10_SIGNATURE_PARAMETER_DESC pDesc
            )
        {
            var fp = GetFunctionPointer(7);

            if (m_GetInputParameterDescFunc == null)
            {
                m_GetInputParameterDescFunc = (GetInputParameterDescFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetInputParameterDescFunc));
            }

            return(m_GetInputParameterDescFunc(m_ptr, ParameterIndex, out pDesc));
        }
예제 #2
0
        public virtual int GetInputSignatureElementDesc(
            uint ShaderIndex,
            uint Element,
            out _D3D10_SIGNATURE_PARAMETER_DESC pDesc
            )
        {
            var fp = GetFunctionPointer(29);

            if (m_GetInputSignatureElementDescFunc == null)
            {
                m_GetInputSignatureElementDescFunc = (GetInputSignatureElementDescFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetInputSignatureElementDescFunc));
            }

            return(m_GetInputSignatureElementDescFunc(m_ptr, ShaderIndex, Element, out pDesc));
        }