Table of Contents

Class GLBufferHandle

Namespace
ReFuel.Graphics.OpenGL
Assembly
ReFuel.dll

Attribute record for the GL objects associated with a BufferResource.

[EcsGuid("{5c21d244-8314-42e1-8558-9837bb626ae1}")]
public record GLBufferHandle : IDisposable, IEquatable<GLBufferHandle>
Inheritance
GLBufferHandle
Implements
Inherited Members

Constructors

GLBufferHandle(GLObject)

Attribute record for the GL objects associated with a BufferResource.

public GLBufferHandle(GLObject Buffer)

Parameters

Buffer GLObject

The OpenGL buffer object tracked by GLObject.

Properties

Buffer

The OpenGL buffer object tracked by GLObject.

public GLObject Buffer { get; init; }

Property Value

GLObject

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Operators

implicit operator int(GLBufferHandle)

public static implicit operator int(GLBufferHandle id)

Parameters

id GLBufferHandle

Returns

int