Last change
on this file since 4319 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:
546 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 "Shader.h" |
---|
10 | |
---|
11 | namespace nv { |
---|
12 | |
---|
13 | class Volume; |
---|
14 | |
---|
15 | class VolumeShader : public Shader |
---|
16 | { |
---|
17 | public : |
---|
18 | virtual ~VolumeShader(); |
---|
19 | |
---|
20 | virtual void bind(unsigned int tfID, Volume *volume, |
---|
21 | int sliceMode, float sampleRatio) = 0; |
---|
22 | |
---|
23 | virtual void unbind() |
---|
24 | { |
---|
25 | Shader::unbind(); |
---|
26 | } |
---|
27 | |
---|
28 | protected : |
---|
29 | VolumeShader(); |
---|
30 | }; |
---|
31 | |
---|
32 | } |
---|
33 | |
---|
34 | #endif // |
---|
35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.