Click or drag to resize

MemoryBlock Structure

Represents a block of memory managed by the graphics API.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Internal.SharpBgfxMemoryBlock

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

The MemoryBlock type exposes the following members.

Constructors
 NameDescription
Public methodMemoryBlock(Int32) Initializes a new instance of the MemoryBlock struct.
Public methodMemoryBlock(IntPtr, Int32) Initializes a new instance of the MemoryBlock struct.
Public methodMemoryBlock(Void*, Int32) Initializes a new instance of the MemoryBlock struct.
Top
Properties
 NameDescription
Public propertyData The pointer to the raw data.
Public propertySize The size of the block, in bytes.
Top
Methods
 NameDescription
Public methodEquals(MemoryBlock) Determines whether the specified object is equal to this instance.
Public methodEquals(Object) Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object))
Public methodStatic memberFromArray(ArraySegmentByte) 
Public methodStatic memberFromArray(Byte) 
Public methodGetHashCode Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodGetTypeGets 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(MemoryBlock, MemoryBlock) Implements the equality operator.
Public operatorStatic memberInequality(MemoryBlock, MemoryBlock) Implements the inequality operator.
Top
Fields
 NameDescription
Public fieldStatic memberInvalid Represents an invalid handle.
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also