Class GpuMesh
This type of mesh doesn't create a copy of the mesh data in the RAM.
Inherited Members
Namespace: Fusee.Engine.Core
Assembly: Fusee.Engine.Core.dll
Syntax
public class GpuMesh : SceneComponent, IComponent, IManagedMesh, IDisposable
Fields
BoundingBox
The bounding box of this geometry.
Declaration
public AABBf BoundingBox
Field Value
Type | Description |
---|---|
AABBf |
Properties
MeshType
Type of data of this mesh (e.g. Triangles, Points, Lines, etc.)
Declaration
public PrimitiveType MeshType { get; set; }
Property Value
Type | Description |
---|---|
PrimitiveType |
SessionUniqueIdentifier
SessionUniqueIdentifier is used to verify a Mesh's uniqueness in the current session.
Declaration
public Suid SessionUniqueIdentifier { get; }
Property Value
Type | Description |
---|---|
Suid |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Dispose(Boolean)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed. |
Finalize()
Finalizers (historically referred to as destructors) are used to perform any necessary final clean-up when a class instance is being collected by the garbage collector.
Declaration
protected void Finalize()
Events
DisposeData
MeshChanged event notifies observing MeshManager the Mesh's disposal.
Declaration
public event EventHandler<MeshChangedEventArgs> DisposeData
Event Type
Type | Description |
---|---|
System.EventHandler<MeshChangedEventArgs> |