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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
     1
/**
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
     2
 * d3d2glsl; generate GLSL programs from bytecode of compiled Direct3D shaders.
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
     3
 *
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
     4
 * Please see the file LICENSE.txt in the source's root directory.
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
     5
 *
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
     6
 *  This file written by Ryan C. Gordon.
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
     7
 */
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
     8
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
     9
#ifndef __INCL_D3D2GLSL_H_
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
    10
#define __INCL_D3D2GLSL_H_
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
    11
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
    12
#ifdef __cplusplus
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
    13
extern "C" {
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
    14
#endif
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
    15
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
    16
/* !!! FIXME: documentation. */
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
    17
/* !!! FIXME: this needs to change to return a buffer of GLSL code. */
9
aea1b254e6a5 [svn] Patched to compile.
icculus
parents: 7
diff changeset
    18
int D3D2GLSL_parse(const unsigned char *tokenbuf, const unsigned int bufsize);
7
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
    19
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
    20
#ifdef __cplusplus
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
    21
}
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
    22
#endif
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
    23
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
    24
#endif  /* include-once blocker. */
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
    25
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
    26
/* end of d3d2glsl.h ... */
18bf77bb8c07 [svn] Cleanups, split things out.
icculus
parents:
diff changeset
    27