Reworking everything about shaders.
This commit is contained in:
22
src/display/shaders/shaderui.h
Normal file
22
src/display/shaders/shaderui.h
Normal file
@ -0,0 +1,22 @@
|
||||
/**
|
||||
* Copyright (c) 2021 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "../shaderprogram.h"
|
||||
#include "../texture.h"
|
||||
|
||||
typedef struct {
|
||||
shaderprogram_t program;
|
||||
texture_t texture;
|
||||
|
||||
shaderuniform_t uniProjection;
|
||||
shaderuniform_t uniModel;
|
||||
shaderuniform_t uniTexture;
|
||||
shaderuniform_t uniColor;
|
||||
} uishader_t;
|
||||
|
||||
void shaderUiInit(shaderprogram_t *program);
|
Reference in New Issue
Block a user