Click or drag to resize

TransientVertexBuffer Structure

Maintains a transient vertex buffer.

Namespace:  Internal.SharpBgfx
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public struct TransientVertexBuffer : IEquatable<TransientVertexBuffer>

The TransientVertexBuffer type exposes the following members.

Constructors
  NameDescription
Public methodTransientVertexBuffer
Initializes a new instance of the TransientVertexBuffer struct.
Top
Properties
  NameDescription
Public propertyCount
The size of the buffer.
Public propertyData
A pointer that can be filled with vertex data.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(TransientVertexBuffer)
Determines whether the specified object is equal to this instance.
Public methodStatic memberGetAvailableSpace
Gets the available space in the global transient vertex buffer.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the equality operator.
Public operatorStatic memberInequality
Implements the inequality operator.
Top
Fields
  NameDescription
Public fieldStatic memberInvalid
Represents an invalid handle.
Top
Extension Methods
Remarks
The contents of the buffer are valid for the current frame only. You must call SetVertexBuffer with the buffer or a leak could occur.
See Also