/
Zamar_Terrier
/
TigorEngineWeb
Обзор
Документация
Войти
/
Zamar_Terrier
/
TigorEngineWeb
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
includes/graphicsObject.h
30 строк
994 B
Ilia Zamaruev
hard fix
28 окт 2025, 17:11
28 окт 2025, 17:11
8d866bd
Код
Авторство
О чём код?
#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