Home | All Classes | Grouped Classes | Index | Search

CL_Direct3DWindow::CL_Direct3DWindow

Constructs a direct3d window.

	CL_Direct3DWindow(
		const std::string& title, int width, int height, bool start_fullscreen = false, bool allow_resize = false, int flipping_buffers = 2);

	CL_Direct3DWindow(
		const std::string& title, int width, int height, bool allow_resize, D3DDEVTYPE device_type, DWORD behavior_flags, D3DPRESENT_PARAMETERS* present_parameters);

Parameters:

title
Titlebar text.
width, height
Size of window, in pixels.
start_fullscreen
If true, will show window full screen.
allow_resize
If true, window will have resize grabbers.
flipping_buffers
Number of buffers in flipping system.
device_type, behavior_flags, present_parameters
See the IDirect3D8::CreateDevice function for more details.

See also:

CL_Direct3DWindow



Questions or comments, write to the ClanLib mailing list.