OpenGL Stencil management functions.

This commit is contained in:
jussi
2024-04-15 20:07:32 +03:00
parent 1d66edf4f2
commit 3aecd6dd99
7 changed files with 641 additions and 16 deletions

View File

@@ -1,4 +1,15 @@
#pragma once
/* Framebuffer management. */
/* Frame Buffers. */
int lglBlitFramebuffer( lua_State* L );
/* State Management. */
int lglEnable( lua_State* L );
int lglDisable( lua_State* L );
int lglStencilFunc( lua_State* L );
int lglStencilFuncSeparate( lua_State* L );
int lglStencilMask( lua_State* L );
int lglStencilMaskSeparate( lua_State* L );
int lglStencilOp( lua_State* L );
int lglStencilOpSeparate( lua_State* L );
/* Utility. */
int lglGetString( lua_State* L );

View File

@@ -104,3 +104,4 @@ void uluaPushAutomationEvent( lua_State* L, AutomationEvent event );
void uluaPushAutomationEventList( lua_State* L, AutomationEventList eventList );
/* Utils. */
int uluaGetTableLen( lua_State* L, int index );
bool uluaIsNil( lua_State* L, int index );