source: nanovis/branches/1.1/VolumeShader.h @ 4906

Last change on this file since 4906 was 4889, checked in by ldelgass, 5 years ago

Merge r3611:3618 from trunk

  • 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.