Skip to content h3d.Engine
Fields
| Name | Type |
|---|
| driver | h3d.impl.Driver |
| mem | h3d.impl.MemoryManager |
| hardware | Bool |
| width | I32 |
| height | I32 |
| debug | Bool |
| drawTriangles | I32 |
| drawCalls | I32 |
| shaderSwitches | I32 |
| backgroundColor | Null |
| autoResize | Bool |
| fullScreen | Bool |
| realFps | F64 |
| lastTime | F64 |
| antiAlias | I32 |
| tmpVector | h3d.Vector |
| window | hxd.Window |
| targetTmp | h3d._Engine.TargetTmp |
| targetStack | h3d._Engine.TargetTmp |
| currentTargetTex | h3d.mat.Texture |
| currentTargetLayer | I32 |
| currentTargetMip | I32 |
| needFlushTarget | Bool |
| nullTexture | h3d.mat.Texture |
| textureColorCache | haxe.ds.IntMap |
| ready | Bool |
| resCache | haxe.ds.ObjectMap |
| onContextLost | Fun |
| onReady | Fun |
| onResized | Fun |
| static | CURRENT | h3d.Engine |
Protos
f@2582 init(h3d.Engine) → Void
f@2583 selectShader(h3d.Engine, hxsl.RuntimeShader) → Void
f@2584 selectMaterial(h3d.Engine, h3d.mat.Pass) → Void
f@2585 uploadShaderBuffers(h3d.Engine, h3d.shader.Buffers, I32) → Void
f@2586 selectBuffer(h3d.Engine, h3d.Buffer) → Bool
f@2587 renderBuffer(h3d.Engine, h3d.Buffer, h3d.Indexes, I32, Ref, Ref) → Void
f@2588 renderIndexed(h3d.Engine, h3d.Buffer, h3d.Indexes, Ref, Ref) → Void
f@2589 set_debug(h3d.Engine, Bool) → Bool
f@2590 onCreate(h3d.Engine, Bool) → Void
f@2593 onWindowResize(h3d.Engine) → Void
f@2594 set_fullScreen(h3d.Engine, Bool) → Bool
f@2596 resize(h3d.Engine, I32, I32) → Void
f@2597 begin(h3d.Engine) → Bool
f@2598 end(h3d.Engine) → Void
f@2599 getCurrentTarget(h3d.Engine) → h3d.mat.Texture
f@2600 pushTarget(h3d.Engine, h3d.mat.Texture, Ref, Ref) → Void
f@2601 updateNeedFlush(h3d.Engine) → Void
f@2602 pushTargets(h3d.Engine, hl.types.ArrayObj) → Void
f@2603 popTarget(h3d.Engine) → Void
f@2604 doFlushTarget(h3d.Engine) → Void
f@2605 clear(h3d.Engine, Null, Null, Null) → Void
f@2606 setRenderZone(h3d.Engine, Ref, Ref, Ref, Ref) → Void
f@2607 render(h3d.Engine, Virtual[render]) → Bool
Bindings
f@2595 onResized(h3d.Engine) → Void
f@2592 onReady(h3d.Engine) → Void
f@2591 onContextLost(h3d.Engine) → Void
- static
f@2642 __constructor__(h3d.Engine, Ref, Ref) → Void