d3d2glsl.h
author icculus
Mon, 11 Feb 2008 22:37:34 -0500
branchtrunk
changeset 9 aea1b254e6a5
parent 7 18bf77bb8c07
child 14 7075b6e31471
permissions -rw-r--r--
[svn] Patched to compile.

/**
 * d3d2glsl; generate GLSL programs from bytecode of compiled Direct3D shaders.
 *
 * Please see the file LICENSE.txt in the source's root directory.
 *
 *  This file written by Ryan C. Gordon.
 */

#ifndef __INCL_D3D2GLSL_H_
#define __INCL_D3D2GLSL_H_

#ifdef __cplusplus
extern "C" {
#endif

/* !!! FIXME: documentation. */
/* !!! FIXME: this needs to change to return a buffer of GLSL code. */
int D3D2GLSL_parse(const unsigned char *tokenbuf, const unsigned int bufsize);

#ifdef __cplusplus
}
#endif

#endif  /* include-once blocker. */

/* end of d3d2glsl.h ... */