Click or drag to resize
Ab4d.SharpEngine logo

EffectDisposeMaterial Method

Overload List
 NameDescription
Public methodDisposeMaterial(Material) DisposeMaterial disposes the resources that are used by the specified material. Note that this method can be called on another thread. This happens when it is called from destructor (finalizer).
Protected methodDisposeMaterial(Material, IGpuDynamicMemoryBlockPool, DescriptorSetsCache) DisposeMaterial frees the memory block that was used by the specified material, sets material's MaterialIndex and MemoryBlockIndex to -1 and disposes descriptor sets that were used for the material's textures.
Top
See Also