source: trunk/packages/vizservers/nanovis/NvVolumeShader.h @ 3464

Last change on this file since 3464 was 3362, checked in by ldelgass, 12 years ago

Merge nanovis2 branch to trunk

  • Property svn:eol-style set to native
File size: 478 bytes
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2#ifndef NV_VOLUME_SHADER_H
3#define NV_VOLUME_SHADER_H
4
5#include "NvShader.h"
6
7class Volume;
8
9class NvVolumeShader : public NvShader
10{
11public :
12    virtual ~NvVolumeShader();
13
14    virtual void bind(unsigned int tfID, Volume *volume,
15                      int sliceMode, float sampleRatio) = 0;
16
17    virtual void unbind()
18    {
19        NvShader::unbind();
20    }
21
22protected :
23    NvVolumeShader();
24};
25
26
27#endif //
28
Note: See TracBrowser for help on using the repository browser.