DI-Guy SDK Documentation  13.1
diguy_graphics_none.h File Reference
#include <diguy_api.h>
#include <bdigraphics/graphics_init_none.h>
#include <declspec_diguy_graphics.h>

Go to the source code of this file.

Functions

int diguy_none_initialize (bdiGraphicsInitNone *init)
 This function initializes the DI-Guy Runtime API for use without a rendering environment. More...
 
int diguy_none_get_defaults (bdiGraphicsInitNone *init)
 Fills out the init structure with default values. More...
 

Function Documentation

int diguy_none_initialize ( bdiGraphicsInitNone *  init)

This function initializes the DI-Guy Runtime API for use without a rendering environment.

Use diguy_none_get_defaults() to fill out the init structure before changing specific entries.

Parameters
initpointer to type bdiGraphicsInitNone; passing NULL will cause defaults to be used for all values

Returns:

0 on success, non-zero error code on failure

Refer to diguy_constants.h for error code values.

int diguy_none_get_defaults ( bdiGraphicsInitNone *  init)

Fills out the init structure with default values.

Selected entries can then be changed before calling diguy_none_initialize().

Parameters
initpointer to type bdiGraphicsInitNone

Returns:

0 on success, -1 on failure