Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Core.IReferencable Interface Reference

Base interface for all referencable objects. More...

Inheritance diagram for SiliconStudio.Core.IReferencable:
SiliconStudio.Core.ComponentBase SiliconStudio.Core.IComponent SiliconStudio.Core.ReferenceBase SiliconStudio.Paradox.Audio.AudioEngine SiliconStudio.Paradox.Audio.SoundBase SiliconStudio.Paradox.Effects.Images.ImageEffectBase SiliconStudio.Paradox.Effects.Images.ImageEffectContext SiliconStudio.Paradox.Effects.RenderPass SiliconStudio.Paradox.EntityModel.Entity SiliconStudio.Paradox.Games.GameBase SiliconStudio.Paradox.Games.GameSystemBase SiliconStudio.Paradox.Games.GameWindow SiliconStudio.Paradox.Games.GraphicsDeviceManager SiliconStudio.Paradox.Graphics.BatchBase< TDrawInfo > SiliconStudio.Paradox.Graphics.BlendStateFactory SiliconStudio.Paradox.Graphics.Effect SiliconStudio.Paradox.Graphics.GeometricMeshData< T > SiliconStudio.Paradox.Graphics.GeometricPrimitive< T > SiliconStudio.Paradox.Graphics.GraphicsAdapter SiliconStudio.Paradox.Graphics.GraphicsDevice SiliconStudio.Paradox.Graphics.GraphicsFactory SiliconStudio.Paradox.Graphics.GraphicsOutput SiliconStudio.Paradox.Graphics.GraphicsPresenter SiliconStudio.Paradox.Graphics.GraphicsResourceBase SiliconStudio.Paradox.Graphics.GraphicsResourceFactoryBase SiliconStudio.Paradox.Graphics.PrimitiveQuad SiliconStudio.Paradox.Graphics.SpriteFont SiliconStudio.Paradox.ScriptContext SiliconStudio.Core.ComponentBase SiliconStudio.Paradox.Games.IGameSystemBase SiliconStudio.Paradox.Graphics.ICommandList SiliconStudio.Core.Storage.Blob

Public Member Functions

int AddReference ()
 Increments the reference count of this instance. More...
 
int Release ()
 Decrements the reference count of this instance. More...
 

Properties

int ReferenceCount [get]
 Gets the reference count of this instance. More...
 

Detailed Description

Base interface for all referencable objects.

Definition at line 8 of file IReferencable.cs.

Member Function Documentation

int SiliconStudio.Core.IReferencable.AddReference ( )

Increments the reference count of this instance.

Returns
The method returns the new reference count.

Implemented in SiliconStudio.Core.ReferenceBase.

int SiliconStudio.Core.IReferencable.Release ( )

Decrements the reference count of this instance.

Returns
The method returns the new reference count.

When the reference count is going to 0, the component should release/dispose dependents objects.

Implemented in SiliconStudio.Core.ReferenceBase.

Property Documentation

int SiliconStudio.Core.IReferencable.ReferenceCount
get

Gets the reference count of this instance.

The reference count.

Definition at line 16 of file IReferencable.cs.


The documentation for this interface was generated from the following file: