neuray API Programmer's Manual

ishader.h File Reference

Description

Scene element Shader.

Code Example

ishader.h

‎//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************

#ifndef MI_NEURAYLIB_ISHADER_H
#define MI_NEURAYLIB_ISHADER_H

#include <mi/neuraylib/iscene_element.h>
#include <mi/neuraylib/version.h>

namespace mi {

namespace neuraylib {

class MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader) :
    public base::Interface_declare<0x78951593,0x519d,0x4259,0x91,0xd3,0x3b,0x03,0xbc,0x7a,0x9a,0x42,
                                   neuraylib::IScene_element>
{
public:
    virtual const char* get_shader_class() const = 0;
};

} // namespace neuraylib

#ifdef MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
using neuraylib::IScene_element;
using neuraylib::MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader);
#endif // MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION

} // namespace mi

#endif // MI_NEURAYLIB_ISHADER_H

Namespaces

namespace 
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
namespace 
Namespace for the neuray API. More...