Advertisement

Externally initializing a vertex array

Started by March 04, 2001 01:25 AM
2 comments, last by ThaUnknownProgga 23 years, 11 months ago
I am accessing DirectX 8 from a dll I wrote. It handles all the basic stuff. Say I have a vertex structure "Vert" defined in a my main file. I have an undefined array of Verts that I want to pass to a function in the DLL. The DLL should initialize this into an array of some size i can also pass along. The DLL should then create a vertex buffer (also passed) containing the vertices. I know how to do all the code for the DirectX 8 side of things, what I want to know is what is the proper syntax for passing the things I want to pass and using them in the function? Edited by - ThaUnknownProgga on March 4, 2001 7:20:52 PM
If your confused, let me clarify this bit: I have a Vert *verts defined in my main file, I want to call a function stored in the DLL that would initialize this into a Vert[6] array. This should then be usable in the main file.
Advertisement
bump? help?
final *BUMP*, guess i''ll have to continue screwing with it myself until something happens.

This topic is closed to new replies.

Advertisement