/
Zamar_Terrier
/
TigorEngineWeb2
Обзор
Документация
Войти
/
Zamar_Terrier
/
TigorEngineWeb2
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
include/graphicsObject.h
30 строк
994 B
Ilia Zamaruev
wasi integration
16 фев 2026, 18:50
16 фев 2026, 18:50
17d4fd0
Код
Авторство
О чём код?
#ifndef GRAPHICSOBJECT_H #define GRAPHICSOBJECT_H #include "graphicsItems.h" #ifdef __cplusplus extern "C" { #endif void GraphicsObjectInit(GraphicsObject* graphObj, uint32_t type); void GraphicsObjectSetShaderWithUniform(GraphicsObject* graphObj, ShaderObject *shader, uint32_t pack_indx); void GraphicsObjectSetShader(GraphicsObject* graphObj, ShaderObject *shader, uint32_t pack_ind, uint32_t shader_type); void GraphicsObjectSetVertex(GraphicsObject* graphObj, void *vertices, int vertCount, uint32_t *indices, int indxCount, VertexType type); void GraphicsObjectGenBuffers(GraphicsObject* graphObj); void GraphicsObjectCreateDrawItems(GraphicsObject* graphObj); void GraphicsObjectCleanPipelines(GraphicsObject *graphObj); void GraphicsObjectClean(GraphicsObject* graphObj); void GraphicsObjectDestroy(GraphicsObject* graphObj); void GraphicsObjectSetShadersPath(GraphicsObject* graphOb, const char* vert, const char* frag); #ifdef __cplusplus } #endif #endif // GRAPHICSOBJECT_H