Cogs.Core
RenderFunctions.h
1#pragma once
2
3#include "BridgeApi.h"
4
5COGSCORE_BRIDGE CogsBool render(BridgeContext * ctx);
6COGSCORE_BRIDGE void resize(BridgeContext * ctx, int x, int y);
7COGSCORE_BRIDGE void resizeView(BridgeView* bv, int x, int y);
8COGSCORE_BRIDGE void setDPI(BridgeContext * ctx, int dpi, float scaleFactor);
9COGSCORE_BRIDGE void setViewDPI(BridgeView* bv, int dpi, float scaleFactor);
10
12COGSCORE_BRIDGE void setRenderMode(BridgeContext * ctx, int mode);
13
14COGSCORE_BRIDGE void setBackgroundColor(BridgeContext * ctx, float * color);
15
22COGSCORE_BRIDGE void * renderScreenshot(BridgeContext * ctx, const void * settings, uint32_t * stride);
23
24COGSCORE_BRIDGE int getEnginePermutationId(BridgeContext * ctx, const char * name);
25COGSCORE_BRIDGE void setEnginePermutationProperty(BridgeContext * ctx, int id, const char * key, const void * value, int valueSize);