Struct rfmod::Geometry [−][src]
pub struct Geometry { /* fields omitted */ }
Expand description
Geometry object
Implementations
pub fn add_polygon(
&self,
direct_occlusion: f32,
reverb_occlusion: f32,
double_sided: bool,
vertices: Vec<Vector>
) -> Result<i32, Status>
pub fn set_polygon_attributes(
&self,
index: i32,
direct_occlusion: f32,
reverb_occlusion: f32,
double_sided: bool
) -> Status
Returns:
Ok(direct_occlusion, reverb_occlusion, double_sided)
pub fn get_memory_info(
&self,
MemoryBits: MemoryBits,
EventMemoryBits: EventMemoryBits
) -> Result<(u32, MemoryUsageDetails), Status>
pub fn get_memory_info(
&self,
MemoryBits: MemoryBits,
EventMemoryBits: EventMemoryBits
) -> Result<(u32, MemoryUsageDetails), Status>
Returns:
Ok(memory_used, details)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Geometry
impl UnwindSafe for Geometry