Example #1
0
        public virtual void ExecuteMetaCommand(
            ID3D12MetaCommand pMetaCommand,
            IntPtr pExecutionParametersData,
            ulong ExecutionParametersDataSizeInBytes
            )
        {
            var fp = GetFunctionPointer(71);

            if (m_ExecuteMetaCommandFunc == null)
            {
                m_ExecuteMetaCommandFunc = (ExecuteMetaCommandFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(ExecuteMetaCommandFunc));
            }

            m_ExecuteMetaCommandFunc(m_ptr, pMetaCommand != null ? pMetaCommand.Ptr : IntPtr.Zero, pExecutionParametersData, ExecutionParametersDataSizeInBytes);
        }
Example #2
0
        public virtual void InitializeMetaCommand(
            ID3D12MetaCommand pMetaCommand,
            IntPtr pInitializationParametersData,
            ulong InitializationParametersDataSizeInBytes
            )
        {
            var fp = GetFunctionPointer(70);

            if (m_InitializeMetaCommandFunc == null)
            {
                m_InitializeMetaCommandFunc = (InitializeMetaCommandFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(InitializeMetaCommandFunc));
            }

            m_InitializeMetaCommandFunc(m_ptr, pMetaCommand != null ? pMetaCommand.Ptr : IntPtr.Zero, pInitializationParametersData, InitializationParametersDataSizeInBytes);
        }