Table of Contents

Struct SessionMemoryInfo

Namespace
RDCore.SDK.Runtime.Shared
Assembly
RDCore.SDK.dll
public record struct SessionMemoryInfo : IEquatable<SessionMemoryInfo>
Implements
Inherited Members

Constructors

SessionMemoryInfo(int, int, int, int, int)

public SessionMemoryInfo(int ReservedSegmentBytes, int AllocatedBytes, int CommittedBytes, int FreeBytes, int LargestFreeBlock)

Parameters

ReservedSegmentBytes int
AllocatedBytes int
CommittedBytes int
FreeBytes int
LargestFreeBlock int

Properties

AllocatedBytes

public int AllocatedBytes { readonly get; set; }

Property Value

int

AvailableBytes

public readonly int AvailableBytes { get; }

Property Value

int

CommittedBytes

public int CommittedBytes { readonly get; set; }

Property Value

int

FreeBytes

public int FreeBytes { readonly get; set; }

Property Value

int

LargestFreeBlock

public int LargestFreeBlock { readonly get; set; }

Property Value

int

ReservedSegmentBytes

public int ReservedSegmentBytes { readonly get; set; }

Property Value

int

UncommittedBytes

public readonly int UncommittedBytes { get; }

Property Value

int

Methods

WithAllocated(int)

Increments the allocated bytes by the specified amount.

public SessionMemoryInfo WithAllocated(int bytes)

Parameters

bytes int

The number of bytes to be added to the current value.

Returns

SessionMemoryInfo

A new memory info data structure representing the new value.

WithCommitted(int)

Increments the committed bytes by the specified amount.

public SessionMemoryInfo WithCommitted(int bytes)

Parameters

bytes int

The number of bytes to be added to the current value.

Returns

SessionMemoryInfo

A new memory info data structure representing the new value.

WithFree(int)

Increments the free bytes by the specified amount.

public SessionMemoryInfo WithFree(int bytes)

Parameters

bytes int

The number of bytes to be added to the current value.

Returns

SessionMemoryInfo

A new memory info data structure representing the new value.