Prototype 2 error unable to initialize direct3d fix
List of IDirectlnputDevice8 interface functionsģ. List of IDirectlnput8 interface functionsĢ.
#Prototype 2 error unable to initialize direct3d fix full
Let's list them one by one in the article, and let everyone get a glimpse of the full picture of the ectlnput API.ġ. Since the overall scale of IDirectInput8 API is not large, it means 3 interfaces and 47 methods to put it bluntly. In general, in the current version of DirectlnputAPI, 3 interfaces and 47 methods constitute this indispensable component in computer game development. These three interfaces contain their own methods.
Directlnput is composed of three interfaces: IDirectlnput8, IDirectlnputDevice8 and IDirectlnputEffect. That is, the latest version of Directlnput is still Directlnput 8.ġ5.2 Overview of Directlnput interface Directlnput, as one of the components of DirectX, is still a collection of some COM objects.
The content and functions of the API have remained intact with the changes in recent versions, and the version number 8 is also retained in the name, Still called Directlnput 8. Therefore, although the latest version of DirectX has been upgraded to DirectX 11, Directlnput is still the same as in the era of DirectX 8. The first thing that needs to be explained to you is that the function of the Directlnput API has been sufficiently improved since the Direct8 update. Directlnput directly deals with hardware drivers, so it is very fast to process user input. In DirectX, Microsoft provides us with an interface object called Directlnput to implement user input.
This obviously can't meet the demanding performance requirements of game programs. After the Windows operating system responds to these messages, the corresponding message processing is performed through the window procedure function of the callback application. 15.1 Introduction As we all know, in ordinary Windows programs, messages input by the user through the keyboard or mouse are not directly processed by the application program, but are forwarded to the Windows operating system through the Windows message mechanism.