This commit is contained in:
Dante
2026-05-21 23:40:20 -07:00
parent 3e2915dff7
commit 877a69d844
5737 changed files with 29796 additions and 1589684 deletions

View File

@ -46,8 +46,8 @@ extern class Krom {
static function viewport(x: Int, y: Int, width: Int, height: Int): Void;
static function scissor(x: Int, y: Int, width: Int, height: Int): Void;
static function disableScissor(): Void;
static function createRenderTarget(width: Int, height: Int, format: Int, depthBufferBits: Int, stencilBufferBits: Int): Dynamic;
static function createRenderTargetCubeMap(cubeMapSize: Int, format: Int, depthBufferBits: Int, stencilBufferBits: Int): Dynamic;
static function createRenderTarget(width: Int, height: Int, depthBufferBits: Int, format: Int, stencilBufferBits: Int, contextId: Int): Dynamic;
static function createRenderTargetCubeMap(cubeMapSize: Int, depthBufferBits: Int, format: Int, stencilBufferBits: Int, contextId: Int): Dynamic;
static function createTexture(width: Int, height: Int, format: Int): Dynamic;
static function createTexture3D(width: Int, height: Int, depth: Int, format: Int): Dynamic;
static function createTextureFromBytes(data: haxe.io.BytesData, width: Int, height: Int, format: Int, readable: Bool): Dynamic;
@ -93,6 +93,7 @@ extern class Krom {
static function setKeyboardDownCallback(callback: Int->Void): Void;
static function setKeyboardUpCallback(callback: Int->Void): Void;
static function setKeyboardPressCallback(callback: Int->Void): Void;
static function setMouseCursor(cursor: Int): Void;
static function setMouseDownCallback(callback: Int->Int->Int->Void): Void;
static function setMouseUpCallback(callback: Int->Int->Int->Void): Void;
static function setMouseMoveCallback(callback: Int->Int->Int->Int->Void): Void;
@ -157,5 +158,4 @@ extern class Krom {
static function getConstantLocationCompute(shader: Dynamic, name: String): Dynamic;
static function getTextureUnitCompute(shader: Dynamic, name: String): Dynamic;
static function compute(x: Int, y: Int, z: Int): Void;
static function viewportSetCamera(posX: Float, posY: Float, posZ: Float, rotX: Float, rotY: Float, rotZ: Float, rotW: Float): Void;
}