DI-Guy SDK Documentation  13.1
diguy_graphics_none.h
Go to the documentation of this file.
1 
2 /*********************************************************************
3  ** Copyright (c) 1992-2015 VT MAK
4  ** All rights reserved.
5  *********************************************************************/
6 
7 /*********************************************************************
8  **
9  *t DI-Guy API, No Graphics Module
10  **
11  *b Link against: libdiguy_graphics_none
12  */
13 
14 #ifndef __diguy_graphics_none_H
15 #define __diguy_graphics_none_H
16 
17 #include <diguy_api.h>
18 #include <bdigraphics/graphics_init_none.h>
19 
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 
27 /*****************************************************************************
28  **
29  *2 Functions
30  **
31  */
32 
33 /*l
34  *b Description:
35  **
36  ** This function initializes the DI-Guy Runtime API for use
37  ** without a rendering environment.
38  **
39  ** Use diguy_none_get_defaults() to fill out the init structure before
40  ** changing specific entries.
41  **
42  *b Arguments:
43  **
44  *a init - pointer to type bdiGraphicsInitNone; passing NULL will cause
45  *a defaults to be used for all values
46  **
47  *b Returns:
48  **
49  ** 0 on success, non-zero error code on failure
50  **
51  ** Refer to diguy_constants.h for error code values.
52  */
53 BDI_DECLSPEC_diguy_graphics int
54 diguy_none_initialize(bdiGraphicsInitNone* init);
55 
56 /*l
57  *b Description:
58  **
59  ** Fills out the init structure with default values. Selected entries can
60  ** then be changed before calling diguy_none_initialize().
61  **
62  *b Arguments:
63  **
64  *a init - pointer to type bdiGraphicsInitNone
65  **
66  *b Returns:
67  **
68  ** 0 on success, -1 on failure
69  */
70 BDI_DECLSPEC_diguy_graphics int
71 diguy_none_get_defaults(bdiGraphicsInitNone* init);
72 
73 
74 #ifdef __cplusplus
75 }
76 #endif
77 
78 
79 #endif /* __diguy_graphics_none_H */
80 
81 
82 /*********************************************************************
83  ** Copyright (c) 1992-2015 VT MAK
84  ** All rights reserved.
85  *********************************************************************/
86 
int diguy_none_get_defaults(bdiGraphicsInitNone *init)
Fills out the init structure with default values.
int diguy_none_initialize(bdiGraphicsInitNone *init)
This function initializes the DI-Guy Runtime API for use without a rendering environment.