Last change
on this file since 3611 was
3611,
checked in by ldelgass, 11 years ago
|
Use nv namespace for classes in nanovis rather than prefixing class names with
Nv (still need to convert shader classes).
|
-
Property svn:eol-style set to
native
|
File size:
558 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_VOLUME_SHADER_H |
---|
7 | #define NV_VOLUME_SHADER_H |
---|
8 | |
---|
9 | #include "NvShader.h" |
---|
10 | |
---|
11 | namespace nv { |
---|
12 | |
---|
13 | class Volume; |
---|
14 | |
---|
15 | class NvVolumeShader : public NvShader |
---|
16 | { |
---|
17 | public : |
---|
18 | virtual ~NvVolumeShader(); |
---|
19 | |
---|
20 | virtual void bind(unsigned int tfID, Volume *volume, |
---|
21 | int sliceMode, float sampleRatio) = 0; |
---|
22 | |
---|
23 | virtual void unbind() |
---|
24 | { |
---|
25 | NvShader::unbind(); |
---|
26 | } |
---|
27 | |
---|
28 | protected : |
---|
29 | NvVolumeShader(); |
---|
30 | }; |
---|
31 | |
---|
32 | } |
---|
33 | |
---|
34 | #endif // |
---|
35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.