Gorgon
Show / Hide Table of Contents

Class GorgonStreamOutCallPoolAllocator

An allocator used to retrieve draw calls from a pool.

Inheritance
object
GorgonRingPool<GorgonStreamOutCall>
GorgonStreamOutCallPoolAllocator
Implements
IGorgonAllocator<GorgonStreamOutCall>
Inherited Members
GorgonRingPool<GorgonStreamOutCall>.ItemAllocator
GorgonRingPool<GorgonStreamOutCall>.TotalSize
GorgonRingPool<GorgonStreamOutCall>.AvailableSlots
GorgonRingPool<GorgonStreamOutCall>.Allocate(Action<GorgonStreamOutCall>)
GorgonRingPool<GorgonStreamOutCall>.Reset(bool)
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public class GorgonStreamOutCallPoolAllocator : GorgonRingPool<GorgonStreamOutCall>, IGorgonAllocator<GorgonStreamOutCall>

Constructors

| Edit this page View Source

GorgonStreamOutCallPoolAllocator(int)

Initializes a new instance of the GorgonLinearPool<T> class.

Declaration
public GorgonStreamOutCallPoolAllocator(int objectCount)
Parameters
Type Name Description
int objectCount

The number of total objects available to the allocator.

Exceptions
Type Condition
ArgumentOutOfRangeException

Thrown when the objectCount parameter is less than 1.

Implements

IGorgonAllocator<T>

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author