neuray API Programmer's Manual

ishader_class.h File Reference

Description

Scene element Shader_class.

Code Example

ishader_class.h

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

#ifndef MI_NEURAYLIB_ISHADER_CLASS_H
#define MI_NEURAYLIB_ISHADER_CLASS_H

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

namespace mi {

namespace neuraylib {

class IAttribute_container;


class MI_NEURAYLIB_DEPRECATED_CLASS_METASL(IShader_class) :
    public base::Interface_declare<0xaeff272d,0xf6f8,0x4e13,0x81,0xcf,0xee,0xe0,0x93,0x4c,0x5a,0x6f,
                                   neuraylib::IScene_element>
{
public:
    virtual Sint32 create_function( const char* name, Uint8 privacy = 0) const = 0;

    virtual Sint32 create_shader( const char* name, Uint8 privacy = 0) const = 0;

    virtual const IAttribute_container* access_input_parameters() const = 0;

    virtual const IAttribute_container* access_output_parameters() const = 0;

    virtual const char* get_filename() const = 0;
};

} // namespace neuraylib

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

} // namespace mi

#endif // MI_NEURAYLIB_ISHADER_CLASS_H

Namespaces

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