Update
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user