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

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

First batch of converting shaders to use new parameter support in NvShader?.

  • Property svn:eol-style set to native
File size: 452 bytes
RevLine 
[2798]1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
[2836]2#ifndef NV_COLORTABLE_SHADER_H
3#define NV_COLORTABLE_SHADER_H
[580]4
[2870]5#include "NvShader.h"
[580]6#include "Texture2D.h"
7#include "TransferFunction.h"
8
[2836]9class NvColorTableShader : public NvShader
10{
11public:
12    NvColorTableShader();
[580]13
[2914]14    virtual ~NvColorTableShader();
[580]15
[2914]16    virtual void bind(Texture2D *plane, TransferFunction *tf);
[2836]17
[2914]18    virtual void unbind();
[2836]19
[580]20private :
21    void init();
22};
23
24#endif
Note: See TracBrowser for help on using the repository browser.