Home
Forum
Documentation
C++
|
Lua
Issue Tracker
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
_CommonCgHelpers.hpp
1
/*
2
Cafu Engine, http://www.cafu.de/
3
Copyright (c) Carsten Fuchs and other contributors.
4
This project is licensed under the terms of the MIT license.
5
*/
6
7
/*************************/
8
/*** Common Cg Helpers ***/
9
/*************************/
10
11
#ifndef CAFU_MATSYS_COMMON_CG_HELPERS_HPP_INCLUDED
12
#define CAFU_MATSYS_COMMON_CG_HELPERS_HPP_INCLUDED
13
14
// This is required for cg.h to get the function calling conventions (Win32 import/export/lib) right.
15
#ifdef _WIN32
16
#define WIN32 1
17
#endif
18
19
#include <Cg/cg.h>
20
#include <Cg/cgGL.h>
21
22
23
CGprogram UploadCgProgram(CGcontext CgContext, CGprofile Profile,
const
char
* SourceCode,
bool
IsObjectCode=
false
);
24
25
#endif
Libs
MaterialSystem
RendererCgARB1
Shaders
_CommonCgHelpers.hpp
Generated on Wed Jun 22 2016 11:29:36 for Cafu Engine by
1.8.6
Copyright © 2002-2016 Carsten Fuchs Software.