Trait embree4_rs::geometry::Geometry
source · pub trait Geometry {
// Required method
fn geometry(&self) -> RTCGeometry;
}
Expand description
A trait implemented by all geometry types. If you want to implement your own geometry type, you must implement this trait.
Make sure to release the geometry handle when the geometry is dropped. See rtcReleaseGeometry.
Required Methods§
sourcefn geometry(&self) -> RTCGeometry
fn geometry(&self) -> RTCGeometry
Returns the handle of the geometry.