42 typedef std::shared_ptr<Variable> SP;
51 virtual void set(
const bool &value);
52 virtual void set(
const vec2b &value);
53 virtual void set(
const vec3b &value);
54 virtual void set(
const vec4b &value);
59 virtual void set(
const uint8_t &value);
60 virtual void set(
const vec2uc &value);
61 virtual void set(
const vec3uc &value);
62 virtual void set(
const vec4uc &value);
64 virtual void set(
const int8_t &value);
65 virtual void set(
const vec2c &value);
66 virtual void set(
const vec3c &value);
67 virtual void set(
const vec4c &value);
72 virtual void set(
const uint16_t &value);
73 virtual void set(
const vec2us &value);
74 virtual void set(
const vec3us &value);
75 virtual void set(
const vec4us &value);
77 virtual void set(
const int16_t &value);
78 virtual void set(
const vec2s &value);
79 virtual void set(
const vec3s &value);
80 virtual void set(
const vec4s &value);
85 virtual void set(
const int32_t &value);
86 virtual void set(
const vec2i &value);
87 virtual void set(
const vec3i &value);
88 virtual void set(
const vec4i &value);
90 virtual void set(
const uint32_t &value);
91 virtual void set(
const vec2ui &value);
92 virtual void set(
const vec3ui &value);
93 virtual void set(
const vec4ui &value);
95 virtual void set(
const float &value);
96 virtual void set(
const vec2f &value);
97 virtual void set(
const vec3f &value);
98 virtual void set(
const vec4f &value);
103 virtual void set(
const int64_t &value);
104 virtual void set(
const vec2l &value);
105 virtual void set(
const vec3l &value);
106 virtual void set(
const vec4l &value);
108 virtual void set(
const uint64_t &value);
109 virtual void set(
const vec2ul &value);
110 virtual void set(
const vec3ul &value);
111 virtual void set(
const vec4ul &value);
113 virtual void set(
const double &value);
114 virtual void set(
const vec2d &value);
115 virtual void set(
const vec3d &value);
116 virtual void set(
const vec4d &value);
122 virtual void set(
const affine3f &value);
124 virtual void set(
const std::shared_ptr<Buffer> &value);
125 virtual void set(
const std::shared_ptr<Group> &value);
126 virtual void set(
const std::shared_ptr<Texture> &value);
128 virtual void setRaw(
const void *ptr,
int devID);
131 virtual std::string
toString()
const {
return "Variable"; }
139 const DeviceContext::SP &device)
const = 0;
Definition: owl_host.h:266
Definition: Variable.h:41
virtual void writeToSBT(uint8_t *sbtEntry, const DeviceContext::SP &device) const =0
const OWLVarDecl *const varDecl
Definition: Variable.h:147
static Variable::SP createInstanceOf(const OWLVarDecl *decl)
Definition: Variable.cpp:409
void mismatchingType(const std::string &attemptedType)
Definition: Variable.cpp:27
virtual std::string toString() const
Definition: Variable.h:131
Definition: AffineSpace.h:52