To the DirectX documentation that is available, along with the DirectX 9.0c The example paints a multicolored triangle onto the screen. *ev struct declared in avars.h, or can be obtained through the draw_begin function. The Direct3D functions are accessed throughĪ LPDIRECT3DDEVICE9 pointer that is available through the ENGINE_VARS As lite-C also natively supports DirectX functions, you don't need to write a plugin for using DirectX.Īll DirectX initialization is done by the engine, thus it's sufficient The DirectX SDK version used by the engine is mentioned in a comment in the avars.h header file. You'll need to download and install the DirectX SDK by Microsoft before you can use DirectX function in a plugin make sure that it's the same version that the engine uses. The following example shows how to use DirectX functions for creating someĮffects on the screen. SDK: Using DirectX functions Lesson 4: Using DirectX functions
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |