fg_ddsetobj()Win32 DirectX Fastgraph/Light Prototype void fg_ddsetobj (void *object, int code); Sub fg_ddsetobj (object As Any, ByVal code As Long) procedure fg_ddsetobj (var object; code : integer); Description The fg_ddsetobj() function defines a pointer to an externally created DirectX object. Normally you will only use this function in specialized applications, or when using Fastgraph with third party DirectX tools. Parameters object is a pointer to the DirectX object. code specifies which DirectX object to define:
The different versions of the objects correspond to the version of DirectX being used. For example, if code is zero, fg_ddsetobj() expects a pointer to a DirectDraw2 object for DirectX 5 or earlier, a DirectDraw4 object for DirectX 6, and a DirectDraw7 object for DirectX 7. Return value none Restrictions This function is available only in Fastgraph's DirectX libraries. The DirectDrawClipper object is used only in windowed programs. The DirectDrawPalette object is used only in full screen programs. See also Examples SetupD3D, SetupDD
|
 
copyright 2001 Ted Gruber Software, Inc.