basic D3D drawing functionality