Last change
on this file since 4829 was
3612,
checked in by ldelgass, 12 years ago
|
Remove Nv prefix from shader classes now that they are in nv namespace.
|
-
Property svn:eol-style set to
native
|
File size:
523 bytes
|
Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | /* |
---|
3 | * Copyright (c) 2004-2013 HUBzero Foundation, LLC |
---|
4 | * |
---|
5 | */ |
---|
6 | #ifndef NV_COLORTABLE_SHADER_H |
---|
7 | #define NV_COLORTABLE_SHADER_H |
---|
8 | |
---|
9 | #include "Shader.h" |
---|
10 | #include "Texture2D.h" |
---|
11 | #include "TransferFunction.h" |
---|
12 | |
---|
13 | namespace nv { |
---|
14 | |
---|
15 | class ColorTableShader : public Shader |
---|
16 | { |
---|
17 | public: |
---|
18 | ColorTableShader(); |
---|
19 | |
---|
20 | virtual ~ColorTableShader(); |
---|
21 | |
---|
22 | virtual void bind(Texture2D *plane, TransferFunction *tf); |
---|
23 | |
---|
24 | virtual void unbind(); |
---|
25 | |
---|
26 | private : |
---|
27 | void init(); |
---|
28 | }; |
---|
29 | |
---|
30 | } |
---|
31 | |
---|
32 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.