Moving elemental to immediate drawer.

This commit is contained in:
Ben Vanik
2015-11-07 09:52:57 -08:00
parent 440c807936
commit fdf59fec5f
11 changed files with 169 additions and 363 deletions

View File

@@ -80,6 +80,8 @@ struct ImmediateDraw {
// Texture used when drawing, or nullptr if color only.
// This is most commonly the handle of an ImmediateTexture.
uintptr_t texture_handle = 0;
// Any samples outside of [0-1] on uv will be ignored.
bool restrict_texture_samples = false;
// True to enable scissoring using the region defined by scissor_rect.
bool scissor = false;