GLFWWindow

GLFWを利用したWindowです.armosではデフォルトでこのclassを元にWindowが生成されます.

Constructors

this
this(WindowConfig config, GLFWwindow* sharedContext)

Destructor

~this
~this()
Undocumented in source.

Members

Functions

close
void close()

Windowを閉じます.

context
GLFWwindow* context()
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
frameBufferSize
Vector2i frameBufferSize()

Windowのframw bufferのサイズを返します.

initEvents
void initEvents(Application app)
Undocumented in source. Be warned that the author may not have intended to support it.
name
void name(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
observables
CoreObservables observables()
Undocumented in source. Be warned that the author may not have intended to support it.
pixelScreenCoordScale
float pixelScreenCoordScale()
pollEvents
void pollEvents()

イベントが発生している場合,登録されたイベントを実行します

renderer
Renderer renderer()
Undocumented in source. Be warned that the author may not have intended to support it.
select
void select()
Undocumented in source. Be warned that the author may not have intended to support it.
setup
void setup()
Undocumented in source. Be warned that the author may not have intended to support it.
size
void size(Vector2i size)
Undocumented in source. Be warned that the author may not have intended to support it.
size
Vector2i size()

Windowのサイズを返します.

update
void update()

Windowを更新します.

verticalSync
void verticalSync(bool f)

VerticalSync

Mixins

__anonymous
mixin BaseWindow
Undocumented in source.

Variables

hasRenderer
enum bool hasRenderer;
Undocumented in source.

Mixed In Members

From mixin BaseWindow

shouldClose
bool shouldClose()
name
string name()
name
void name(string str)
aspect
float aspect()
_shouldClose
bool _shouldClose;
Undocumented in source.
_name
string _name;
Undocumented in source.
_windowSize
Vector2f _windowSize;
Undocumented in source.

Inherited Members

From Window

hasRenderer
enum bool hasRenderer;
Undocumented in source.
size
void size(Vector2i size)

サイズのプロパティです

size
Vector2i size()

サイズのプロパティです.

frameBufferSize
Vector2i frameBufferSize()

サイズのプロパティです.

pollEvents
void pollEvents()

イベントが発生している場合,登録されたイベントを実行します

setup
void setup()
update
void update()

Windowを更新します.

draw
void draw()
close
void close()

Windowを閉じます.

shouldClose
bool shouldClose()

Windowがフレームの最後に閉じる場合trueになります.

aspect
float aspect()

Windowのアスペクト比を表します

name
string name()

Windowのタイトル文字列のプロパティです.

name
void name(string str)

Windowのタイトル文字列のプロパティです.

initEvents
void initEvents(Application )
select
void select()
Undocumented in source.
verticalSync
void verticalSync(bool )

VerticalSync

pixelScreenCoordScale
float pixelScreenCoordScale()
Undocumented in source.
observables
CoreObservables observables()
renderer
Renderer renderer()

Meta