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