entity array writes to gpu-ringbuffer + general updates
This commit is contained in:
+6
-5
@@ -84,12 +84,16 @@ void Editor::Initialize()
|
||||
|
||||
void EditorLoadingScreen::Load()
|
||||
{
|
||||
font = wiFont("Loading...", wiFontProps((int)(wiRenderer::GetDevice()->GetScreenWidth()*0.5f), (int)(wiRenderer::GetDevice()->GetScreenHeight()*0.5f), 36,
|
||||
WIFALIGN_MID, WIFALIGN_MID));
|
||||
addFont(&font);
|
||||
|
||||
sprite = wiSprite("../logo/logo_small.png");
|
||||
sprite.anim.opa = 0.02f;
|
||||
sprite.anim.repeatable = true;
|
||||
sprite.effects.pos = XMFLOAT3(wiRenderer::GetDevice()->GetScreenWidth()*0.5f, wiRenderer::GetDevice()->GetScreenHeight()*0.5f, 0);
|
||||
sprite.effects.pos = XMFLOAT3(wiRenderer::GetDevice()->GetScreenWidth()*0.5f, wiRenderer::GetDevice()->GetScreenHeight()*0.5f - font.textHeight(), 0);
|
||||
sprite.effects.siz = XMFLOAT2(128, 128);
|
||||
sprite.effects.pivot = XMFLOAT2(0.5f, 0.5f);
|
||||
sprite.effects.pivot = XMFLOAT2(0.5f, 1.0f);
|
||||
sprite.effects.quality = QUALITY_BILINEAR;
|
||||
sprite.effects.blendFlag = BLENDMODE_ALPHA;
|
||||
addSprite(&sprite);
|
||||
@@ -99,9 +103,6 @@ void EditorLoadingScreen::Load()
|
||||
void EditorLoadingScreen::Compose()
|
||||
{
|
||||
__super::Compose();
|
||||
|
||||
wiFont("Loading...", wiFontProps((int)(wiRenderer::GetDevice()->GetScreenWidth()*0.5f), (int)(wiRenderer::GetDevice()->GetScreenHeight()*0.6f), 36,
|
||||
WIFALIGN_MID, WIFALIGN_MID)).Draw(GRAPHICSTHREAD_IMMEDIATE);
|
||||
}
|
||||
void EditorLoadingScreen::Unload()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user