mirror of
https://git.neolegacy.dev/neoStudiosLCE/4JLibs.git
synced 2026-12-02 22:18:12 +01:00
set back buffer size api
This commit is contained in:
1 parent
a549f6a5b3
commit
82eeded18e
4 files changed
+13
No files matched your search
@@ -151,6 +151,7 @@ public:
|
||||
void StateSetLightAmbientColour(float red, float green, float blue);
|
||||
void StateSetLightDirection(int light, float x, float y, float z);
|
||||
void StateSetLightEnable(int light, bool enable);
|
||||
void SetBackBufferSize(DWORD width, DWORD height);
|
||||
void StateSetViewport(C4JRender::eViewportType viewportType);
|
||||
void StateSetEnableViewportClipPlanes(bool enable);
|
||||
void StateSetTexGenCol(int col, float x, float y, float z, float w, bool eyeSpace);
|
||||
|
||||
@@ -457,6 +457,11 @@ void C4JRender::StateSetLightEnable(int light, bool enable)
|
||||
InternalRenderManager.StateSetLightEnable(light, enable);
|
||||
}
|
||||
|
||||
void C4JRender::SetBackBufferSize(DWORD width, DWORD height)
|
||||
{
|
||||
InternalRenderManager.SetBackBufferSize(width, height);
|
||||
}
|
||||
|
||||
void C4JRender::StateSetViewport(eViewportType viewportType)
|
||||
{
|
||||
InternalRenderManager.StateSetViewport(viewportType);
|
||||
|
||||
@@ -517,6 +517,12 @@ void Renderer::StateSetVertexTextureUV(float u, float v)
|
||||
}
|
||||
|
||||
|
||||
void Renderer::SetBackBufferSize(DWORD width, DWORD height)
|
||||
{
|
||||
backBufferWidth = width;
|
||||
backBufferHeight = height;
|
||||
}
|
||||
|
||||
void Renderer::StateSetViewport(C4JRender::eViewportType viewportType)
|
||||
{
|
||||
getContext();
|
||||
|
||||
@@ -206,6 +206,7 @@ public:
|
||||
void StateSetLightAmbientColour(float red, float green, float blue);
|
||||
void StateSetLightDirection(int light, float x, float y, float z);
|
||||
void StateSetLightEnable(int light, bool enable);
|
||||
void SetBackBufferSize(DWORD width, DWORD height);
|
||||
void StateSetViewport(eViewportType viewportType);
|
||||
void StateSetEnableViewportClipPlanes(bool enable);
|
||||
void StateSetTexGenCol(int col, float x, float y, float z, float w, bool eyeSpace);
|
||||
|
||||
Reference in new issue
Block a user