24 return VisRTX::TextureFormat::RGBA8;
27 return VisRTX::TextureFormat::RGB8;
29 return VisRTX::TextureFormat::RGBA32F;
31 return VisRTX::TextureFormat::RGB32F;
33 return VisRTX::TextureFormat::R8;
35 return VisRTX::TextureFormat::R32F;
41 return VisRTX::TextureFormat::RGBA8;
53 this->texture->Release();
59 int flags = this->
GetInt({
"filter" });
62 Data*
data = this->GetObject<Data>({
"data" });
63 VisRTX::Vec2i
size = VisRTX::Vec2i(
data->GetWidth(),
data->GetHeight());
67 VisRTX::Context* rtx = VisRTX_GetContext();
75 this->texture->SetFiltering(VisRTX::TextureFiltering::NEAREST, VisRTX::TextureFiltering::NEAREST);
80 VisRTX::Texture* texture =
nullptr;
@ RTW_TEXTURE_FILTER_NEAREST
int32_t GetInt(const std::vector< std::string > &ids, int32_t defaultValue=0, bool *found=nullptr) const
OSPFrameBufferFormat convert(RTWFrameBufferFormat format)
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)