Last change
on this file since 2836 was
2836,
checked in by ldelgass, 13 years ago
|
More cleanups, remove NEW_FLOW_ENGINE define flag
|
-
Property svn:eol-style set to
native
|
File size:
591 bytes
|
Rev | Line | |
---|
[2798] | 1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
[755] | 2 | #include <R2/R2FilePath.h> |
---|
[2831] | 3 | |
---|
[580] | 4 | #include "NvColorTableShader.h" |
---|
[2831] | 5 | #include "Trace.h" |
---|
| 6 | #include "global.h" |
---|
[580] | 7 | |
---|
| 8 | NvColorTableShader::NvColorTableShader() |
---|
| 9 | { |
---|
| 10 | init(); |
---|
| 11 | } |
---|
| 12 | |
---|
| 13 | NvColorTableShader::~NvColorTableShader() |
---|
| 14 | { |
---|
| 15 | } |
---|
| 16 | |
---|
| 17 | void NvColorTableShader::init() |
---|
| 18 | { |
---|
[1111] | 19 | _cgFP = LoadCgSourceProgram(g_context, "one_plane.cg", CG_PROFILE_FP30, |
---|
[2836] | 20 | "main"); |
---|
[580] | 21 | _dataParam = cgGetNamedParameter(_cgFP, "data"); |
---|
| 22 | _tfParam = cgGetNamedParameter(_cgFP, "tf"); |
---|
| 23 | _renderParam = cgGetNamedParameter(_cgFP, "render_param"); |
---|
| 24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.