Iray SDK API nvidia_logo_transpbg.gif Up
iprojector.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_IPROJECTOR_H
8#define MI_NEURAYLIB_IPROJECTOR_H
9
12
13namespace mi {
14
15namespace neuraylib {
16
28 public base::Interface_declare<0x5f07ad1a,0xbdc8,0x4dfc,0xb7,0xdc,0x7e,0x1d,0x2c,0x87,0xfa,0x9d,
29 neuraylib::IScene_element>
30{
31public:
33 virtual const char* get_projector() const = 0;
34
49 virtual Sint32 set_projector( const char* name) = 0;
50
54 virtual Uint32 get_texture_space() const = 0;
55
57 virtual void set_texture_space( Uint32 index) = 0;
58};
59 // end group mi_neuray_misc
61
62} // namespace neuraylib
63
64} // namespace mi
65
66#endif // MI_NEURAYLIB_IPROJECTOR_H
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
Projectors are functions that generate texture coordinates for a particular texture space.
Definition: iprojector.h:30
virtual const char * get_projector() const =0
Returns the name of the projector, or NULL if no projector is set.
virtual void set_texture_space(Uint32 index)=0
Sets the index of the texture space to be used by the projector.
virtual Uint32 get_texture_space() const =0
Returns the index of the texture space to be used by the projector.
virtual Sint32 set_projector(const char *name)=0
Sets the projector.
unsigned int Uint32
32-bit unsigned integer.
Definition: types.h:49
signed int Sint32
32-bit signed integer.
Definition: types.h:46
Base class for all scene elements.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179
Typedefs for types from the math API.