h3d.impl.DirectXDriver
h3d.impl.DirectXDriver
Inherits from: h3d.impl.Driver
Fields
| Name | Type | |
|---|---|---|
driver | Abstract | |
shaders | haxe.ds.IntMap | |
hasDeviceError | Bool | |
defaultTarget | Abstract | |
defaultDepth | Virtual[res, view] | |
defaultDepthInst | h3d.mat.DepthBuffer | |
extraDepthInst | h3d.mat.DepthBuffer | |
viewport | Bytes | |
rects | Bytes | |
box | dx.ResourceBox | |
strides | hl.types.ArrayBytes_Int | |
offsets | hl.types.ArrayBytes_Int | |
currentShader | h3d.impl._DirectXDriver.CompiledShader | |
currentIndex | Virtual[bits, count, res] | |
currentDepth | Virtual[res, view] | |
currentTargets | Array | |
vertexShader | h3d.impl.PipelineState | |
pixelShader | h3d.impl.PipelineState | |
currentVBuffers | Array | |
frame | I32 | |
currentMaterialBits | I32 | |
currentStencilMaskBits | I32 | |
currentStencilOpBits | I32 | |
currentStencilRef | I32 | |
currentColorMask | I32 | |
targetsCount | I32 | |
allowDraw | Bool | |
depthStates | haxe.ds.IntMap | |
blendStates | haxe.ds.IntMap | |
rasterStates | haxe.ds.IntMap | |
samplerStates | haxe.ds.IntMap | |
currentDepthState | Abstract | |
currentBlendState | Abstract | |
currentRasterState | Abstract | |
blendFactors | Bytes | |
outputWidth | I32 | |
outputHeight | I32 | |
hasScissor | Bool | |
shaderVersion | String | |
window | dx.Window | |
curTexture | h3d.mat.Texture | |
mapCount | I32 | |
updateResCount | I32 | |
onContextLost | Fun | |
backBufferFormat | I32 | |
depthStencilFormat | I32 | |
tmpTextures | hl.types.ArrayObj | |
| static | COMPARE | hl.types.ArrayBytes_Int |
| static | CULL | hl.types.ArrayBytes_Int |
| static | STENCIL_OP | hl.types.ArrayBytes_Int |
| static | BLEND | hl.types.ArrayBytes_Int |
| static | BLEND_ALPHA | hl.types.ArrayBytes_Int |
| static | BLEND_OP | hl.types.ArrayBytes_Int |
| static | FILTER | hl.types.ArrayObj |
| static | WRAP | hl.types.ArrayBytes_Int |
Protos
f@30714reset(h3d.impl.DirectXDriver) → Voidf@30715dispose(h3d.impl.DirectXDriver) → Voidf@30716onDXError(h3d.impl.DirectXDriver, I32, I32, I32) → Voidf@30717resize(h3d.impl.DirectXDriver, I32, I32) → Voidf@30718begin(h3d.impl.DirectXDriver, I32) → Voidf@30719isDisposed(h3d.impl.DirectXDriver) → Boolf@30720init(h3d.impl.DirectXDriver, Fun, Ref) → Voidf@30721clear(h3d.impl.DirectXDriver, h3d.Vector, Null, Null) → Voidf@30722present(h3d.impl.DirectXDriver) → Voidf@30723getDefaultDepthBuffer(h3d.impl.DirectXDriver) → h3d.mat.DepthBufferf@30724allocVertexes(h3d.impl.DirectXDriver, h3d.impl.ManagedBuffer) → Virtual[count, res, stride]f@30725allocIndexes(h3d.impl.DirectXDriver, I32, Bool) → Virtual[bits, count, res]f@30726allocDepthBuffer(h3d.impl.DirectXDriver, h3d.mat.DepthBuffer) → Virtual[res, view]f@30727disposeDepthBuffer(h3d.impl.DirectXDriver, h3d.mat.DepthBuffer) → Voidf@30728isSupportedFormat(h3d.impl.DirectXDriver, hxd.PixelFormat) → Boolf@30729getTextureFormat(h3d.impl.DirectXDriver, h3d.mat.Texture) → I32f@30730allocTexture(h3d.impl.DirectXDriver, h3d.mat.Texture) → Virtual[mips, res, rt, view]f@30731disposeTexture(h3d.impl.DirectXDriver, h3d.mat.Texture) → Voidf@30732disposeVertexes(h3d.impl.DirectXDriver, Virtual[count, res, stride]) → Voidf@30733disposeIndexes(h3d.impl.DirectXDriver, Virtual[bits, count, res]) → Voidf@30734generateMipMaps(h3d.impl.DirectXDriver, h3d.mat.Texture) → Voidf@30735updateBuffer(h3d.impl.DirectXDriver, Abstract, Bytes, I32, I32) → Voidf@30736uploadIndexBuffer(h3d.impl.DirectXDriver, Virtual[bits, count, res], I32, I32, hl.types.ArrayBytes_hl_UI16, I32) → Voidf@30737uploadVertexBuffer(h3d.impl.DirectXDriver, Virtual[count, res, stride], I32, I32, hl.types.ArrayBytes_Single, I32) → Voidf@30738capturePixels(h3d.impl.DirectXDriver, h3d.mat.Texture, I32, I32) → hxd.Pixelsf@30739captureTexPixels(h3d.impl.DirectXDriver, hxd.Pixels, h3d.mat.Texture, I32, I32) → hxd.Pixelsf@30740uploadTextureBitmap(h3d.impl.DirectXDriver, h3d.mat.Texture, hxd.BitmapData, I32, I32) → Voidf@30741uploadTexturePixels(h3d.impl.DirectXDriver, h3d.mat.Texture, hxd.Pixels, I32, I32) → Voidf@30742selectMaterial(h3d.impl.DirectXDriver, h3d.mat.Pass) → Voidf@30743getBinaryPayload(h3d.impl.DirectXDriver, String) → haxe.io.Bytesf@30744addBinaryPayload(h3d.impl.DirectXDriver, haxe.io.Bytes) → Stringf@30745removeBinaryPayload(h3d.impl.DirectXDriver, String) → Stringf@30746compileShader(h3d.impl.DirectXDriver, hxsl.RuntimeShaderData, Ref) → Virtual[bytes, s]f@30747hasFeature(h3d.impl.DirectXDriver, h3d.impl.Feature) → Boolf@30748copyTexture(h3d.impl.DirectXDriver, h3d.mat.Texture, h3d.mat.Texture) → Boolf@30749setRenderTarget(h3d.impl.DirectXDriver, h3d.mat.Texture, Ref, Ref) → Voidf@30750unbind(h3d.impl.DirectXDriver, Abstract) → Voidf@30751setRenderTargets(h3d.impl.DirectXDriver, hl.types.ArrayObj) → Voidf@30752_setRenderTargets(h3d.impl.DirectXDriver, hl.types.ArrayObj, I32, I32) → Voidf@30753setRenderZone(h3d.impl.DirectXDriver, I32, I32, I32, I32) → Voidf@30754selectShader(h3d.impl.DirectXDriver, hxsl.RuntimeShader) → Boolf@30755selectBuffer(h3d.impl.DirectXDriver, h3d.Buffer) → Voidf@30756uploadShaderBuffers(h3d.impl.DirectXDriver, h3d.shader.Buffers, I32) → Voidf@30757uploadShaderBuffer(h3d.impl.DirectXDriver, Abstract, hl.types.ArrayBytes_Single, I32, Bytes) → Voidf@30758uploadBuffers(h3d.impl.DirectXDriver, h3d.impl.PipelineState, h3d.impl._DirectXDriver.ShaderContext, h3d.shader.ShaderBuffers, I32) → Voidf@30759draw(h3d.impl.DirectXDriver, Virtual[bits, count, res], I32, I32) → Void
Bindings
- static
f@30763__constructor__(h3d.impl.DirectXDriver) → Void