Last change
on this file since 2277 was
2096,
checked in by ldelgass, 13 years ago
|
Normalize line endings, set eol-style to native on *.cpp, *.h files
|
-
Property svn:eol-style set to
native
|
File size:
496 bytes
|
Rev | Line | |
---|
[755] | 1 | #include <R2/R2FilePath.h> |
---|
[580] | 2 | #include "NvColorTableShader.h" |
---|
[848] | 3 | #include <Trace.h> |
---|
[1111] | 4 | #include <global.h> |
---|
[580] | 5 | |
---|
| 6 | NvColorTableShader::NvColorTableShader() |
---|
| 7 | { |
---|
| 8 | init(); |
---|
| 9 | } |
---|
| 10 | |
---|
| 11 | NvColorTableShader::~NvColorTableShader() |
---|
| 12 | { |
---|
| 13 | } |
---|
| 14 | |
---|
| 15 | void NvColorTableShader::init() |
---|
| 16 | { |
---|
[1111] | 17 | _cgFP = LoadCgSourceProgram(g_context, "one_plane.cg", CG_PROFILE_FP30, |
---|
| 18 | "main"); |
---|
[580] | 19 | _dataParam = cgGetNamedParameter(_cgFP, "data"); |
---|
| 20 | _tfParam = cgGetNamedParameter(_cgFP, "tf"); |
---|
| 21 | _renderParam = cgGetNamedParameter(_cgFP, "render_param"); |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.