Table of Contents

Struct GcResolution

Namespace
GameCanvas
Assembly
GameCanvas.dll

解像度とリフレッシュレート

public readonly struct GcResolution : IEquatable<GcResolution>
Implements
Inherited Members

Constructors

GcResolution(int, int, in RefreshRate)

コンストラクタ

public GcResolution(int width, int height, in RefreshRate refreshRate)

Parameters

width int
height int
refreshRate RefreshRate

GcResolution(in int2, in RefreshRate)

コンストラクタ

public GcResolution(in int2 size, in RefreshRate refreshRate)

Parameters

size int2
refreshRate RefreshRate

Fields

RefreshRate

リフレッシュレート(1秒間の更新回数)

public readonly RefreshRate RefreshRate

Field Value

RefreshRate

Size

解像度

public readonly int2 Size

Field Value

int2

Properties

Height

縦幅

public int Height { get; }

Property Value

int

Width

横幅

public int Width { get; }

Property Value

int

Methods

Equals(GcResolution)

public bool Equals(GcResolution other)

Parameters

other GcResolution

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(GcResolution, GcResolution)

public static bool operator ==(GcResolution lh, GcResolution rh)

Parameters

lh GcResolution
rh GcResolution

Returns

bool

explicit operator Resolution(GcResolution)

public static explicit operator Resolution(GcResolution src)

Parameters

src GcResolution

Returns

Resolution

explicit operator GcResolution(Resolution)

public static explicit operator GcResolution(Resolution src)

Parameters

src Resolution

Returns

GcResolution

operator !=(GcResolution, GcResolution)

public static bool operator !=(GcResolution lh, GcResolution rh)

Parameters

lh GcResolution
rh GcResolution

Returns

bool