RadeonProRender

Documentation for RadeonProRender.

RadeonProRender.ContextMethod
Context()

Empty constructor, defaults to using opencl, GPU0 and Tahoe as the rendering plugin.

  • resource::rpr_creation_flags_t = RPR_CREATION_FLAGS_ENABLE_GPU0
  • plugin::PluginType=Northstar: can be Tahoe, Northstar or Hybrid or HybridPro. Everything is tested with Northstar, which is a complete rewrite of Tahoe. Hybrid is for real time rendering and only supports Uber material.
  • singleton = true: set to true, to only allow one context at the same time. This is useful, to immediately free all old resources when creating a new context, instead of relying on the GC.
RadeonProRender.ShapeMethod

Default shape constructor which works with every Geometry from the package GeometryTypes (Meshes and geometry primitives alike).

Base.getMethod

Gets the currently attached Camera from a scene

Base.getMethod

Gets the currently attached EnvironmentLight from a scene

RadeonProRender.MatxMethod
Matx(matsys::MaterialSystem, path::String)

Load a Material X xml definition from a .mtlx file. Only works with Northstar plugin!

RadeonProRender.@rpr_wrapper_typeMacro

Wraps a RadeonProRender type into a gc registered higher level type. arguments: name: name of the Julia type typ: type of the RadeonProRender object target: RadeonProRender constructor function args: arguments to constructor function super Julia super type