OpenSiv3D  v0.6.5
C++20 framework for creative coding
s3d::Graphics Namespace Reference

Functions

void SetVSyncEnabled (bool enabled)
 VSync の有効無効を設定します。 More...
 
bool IsVSyncEnabled ()
 VSync が有効であるかを返します。 More...
 

Variables

constexpr uint32 DefaultSampleCount = 4
 

Function Documentation

◆ IsVSyncEnabled()

bool s3d::Graphics::IsVSyncEnabled ( )

VSync が有効であるかを返します。

Returns
VSync が有効である場合 true, 無効である場合 false

◆ SetVSyncEnabled()

void s3d::Graphics::SetVSyncEnabled ( bool  enabled)

VSync の有効無効を設定します。

Parameters
enabledVSync を有効にする場合 true, 無効にする場合 false
Remarks
デフォルトでは有効です。

Variable Documentation

◆ DefaultSampleCount

constexpr uint32 s3d::Graphics::DefaultSampleCount = 4
inlineconstexpr