Struct MemoryUsageDetails

Source
pub struct MemoryUsageDetails {
Show 48 fields pub other: u32, pub string: u32, pub system: u32, pub plugins: u32, pub output: u32, pub channel: u32, pub channel_group: u32, pub codec: u32, pub file: u32, pub sound: u32, pub secondary_ram: u32, pub sound_group: u32, pub stream_buffer: u32, pub dsp_connection: u32, pub dsp: u32, pub dsp_codec: u32, pub profile: u32, pub record_buffer: u32, pub reverb: u32, pub reverb_channel_props: u32, pub geometry: u32, pub sync_point: u32, pub event_system: u32, pub music_system: u32, pub fev: u32, pub memory_fsb: u32, pub event_project: u32, pub event_group_i: u32, pub sound_bank_class: u32, pub sound_bank_list: u32, pub stream_instance: u32, pub sound_def_class: u32, pub sound_def_def_class: u32, pub sound_def_pool: u32, pub reverb_def: u32, pub event_reverb: u32, pub user_property: u32, pub event_instance: u32, pub event_instance_complex: u32, pub event_instance_simple: u32, pub event_instance_layer: u32, pub event_instance_sound: u32, pub event_envelope: u32, pub event_envelope_def: u32, pub event_parameter: u32, pub event_category: u32, pub event_envelope_point: u32, pub event_instance_pool: u32,
}
Expand description

Structure to be filled with detailed memory usage information of a FMOD object

Fields§

§other: u32

[out] Memory not accounted for by other types

§string: u32

[out] String data

§system: u32

[out] System object and various internals

§plugins: u32

[out] Plugin objects and internals

§output: u32

[out] Output module object and internals

§channel: u32

[out] Channel related memory

§channel_group: u32

[out] ChannelGroup objects and internals

§codec: u32

[out] Codecs allocated for streaming

§file: u32

[out] File buffers and structures

§sound: u32

[out] Sound objects and internals

§secondary_ram: u32

[out] Sound data stored in secondary RAM

§sound_group: u32

[out] SoundGroup objects and internals

§stream_buffer: u32

[out] Stream buffer memory

§dsp_connection: u32

[out] DSPConnection objects and internals

§dsp: u32

[out] DSP implementation objects

§dsp_codec: u32

[out] Realtime file format decoding DSP objects

§profile: u32

[out] Profiler memory footprint.

§record_buffer: u32

[out] Buffer used to store recorded data from microphone

§reverb: u32

[out] Reverb implementation objects

§reverb_channel_props: u32

[out] Reverb channel properties structs

§geometry: u32

[out] Geometry objects and internals

§sync_point: u32

[out] Sync point memory.

§event_system: u32

[out] EventSystem and various internals

§music_system: u32

[out] MusicSystem and various internals

§fev: u32

[out] Definition of objects contained in all loaded projects e.g. events, groups, categories

§memory_fsb: u32

[out] Data loaded with preloadFSB

§event_project: u32

[out] EventProject objects and internals

§event_group_i: u32

[out] EventGroup objects and internals

§sound_bank_class: u32

[out] Objects used to manage wave banks

§sound_bank_list: u32

[out] Data used to manage lists of wave bank usage

§stream_instance: u32

[out] Stream objects and internals

§sound_def_class: u32

[out] Sound definition objects

§sound_def_def_class: u32

[out] Sound definition static data objects

§sound_def_pool: u32

[out] Sound definition pool data

§reverb_def: u32

[out] Reverb definition objects

§event_reverb: u32

[out] Reverb objects

§user_property: u32

[out] User property objects

§event_instance: u32

[out] Event instance base objects

§event_instance_complex: u32

[out] Complex event instance objects

§event_instance_simple: u32

[out] Simple event instance objects

§event_instance_layer: u32

[out] Event layer instance objects

§event_instance_sound: u32

[out] Event sound instance objects

§event_envelope: u32

[out] Event envelope objects

§event_envelope_def: u32

[out] Event envelope definition objects

§event_parameter: u32

[out] Event parameter objects

§event_category: u32

[out] Event category objects

§event_envelope_point: u32

[out] Event envelope point objects

§event_instance_pool: u32

[out] Event instance pool memory

Trait Implementations§

Source§

impl Clone for MemoryUsageDetails

Source§

fn clone(&self) -> MemoryUsageDetails

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for MemoryUsageDetails

Source§

fn default() -> MemoryUsageDetails

Returns the “default value” for a type. Read more
Source§

impl Copy for MemoryUsageDetails

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.