source: nanovis/trunk/VolumeShader.h @ 4635

Last change on this file since 4635 was 3612, checked in by ldelgass, 11 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
11namespace nv {
12
13class Volume;
14
15class VolumeShader : public Shader
16{
17public :
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
28protected :
29    VolumeShader();
30};
31
32}
33
34#endif //
35
Note: See TracBrowser for help on using the repository browser.