16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 04:39:18 +02:00

material changes, shader params, texture binding changes, more changes, ...

This commit is contained in:
milek7
2018-07-18 21:53:12 +02:00
parent a1d11cb03b
commit ee16821509
12 changed files with 486 additions and 165 deletions

6
Logs.h
View File

@@ -9,15 +9,15 @@ http://mozilla.org/MPL/2.0/.
#pragma once
#include "uilayer.h"
enum class logtype : unsigned int {
generic = ( 1 << 0 ),
file = ( 1 << 1 ),
model = ( 1 << 2 ),
texture = ( 1 << 3 ),
lua = ( 1 << 4 )
lua = ( 1 << 4 ),
material = ( 1 << 5 ),
shader = (1 << 6 )
};
void WriteLog( const char *str, logtype const Type = logtype::generic );