23 return VisRTX::TextureFormat::RGBA8;
25 return VisRTX::TextureFormat::RGB8;
27 return VisRTX::TextureFormat::RGBA32F;
29 return VisRTX::TextureFormat::RGB32F;
31 return VisRTX::TextureFormat::R8;
33 return VisRTX::TextureFormat::R32F;
39 return VisRTX::TextureFormat::RGBA8;
50 this->texture->Release();
55 VisRTX::Vec2i
size = this->
Get2i({
"size" });
57 int flags = this->
Get1i({
"flags" });
60 Data*
data = this->GetObject<Data>({
"data" });
64 VisRTX::Context* rtx = VisRTX_GetContext();
72 this->texture->SetFiltering(VisRTX::TextureFiltering::NEAREST, VisRTX::TextureFiltering::NEAREST);
77 VisRTX::Texture* texture =
nullptr;
VisRTX::Vec2i Get2i(const std::vector< std::string > &ids, const VisRTX::Vec2i &defaultValue=VisRTX::Vec2i(), bool *found=nullptr) const
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph *>::edge_descriptor e, vtkGraph *)
int32_t Get1i(const std::vector< std::string > &ids, int32_t defaultValue=0, bool *found=nullptr) const
OSPFrameBufferFormat convert(RTWFrameBufferFormat format)