Static variables

@:value(1)staticinlineread onlybatchMode_bits:Int = 1

@:value(8)staticinlineread onlybatchMode_mask:Int = 8

@:value(3)staticinlineread onlybatchMode_offset:Int = 3

@:value(4)staticinlineread onlyblendAlphaDst_bits:Int = 4

@:value(3932160)staticinlineread onlyblendAlphaDst_mask:Int = 3932160

@:value(18)staticinlineread onlyblendAlphaDst_offset:Int = 18

@:value(3)staticinlineread onlyblendAlphaOp_bits:Int = 3

@:value(234881024)staticinlineread onlyblendAlphaOp_mask:Int = 234881024

@:value(25)staticinlineread onlyblendAlphaOp_offset:Int = 25

@:value(4)staticinlineread onlyblendAlphaSrc_bits:Int = 4

@:value(245760)staticinlineread onlyblendAlphaSrc_mask:Int = 245760

@:value(14)staticinlineread onlyblendAlphaSrc_offset:Int = 14

@:value(4)staticinlineread onlyblendDst_bits:Int = 4

@:value(15360)staticinlineread onlyblendDst_mask:Int = 15360

@:value(10)staticinlineread onlyblendDst_offset:Int = 10

@:value(3)staticinlineread onlyblendOp_bits:Int = 3

@:value(29360128)staticinlineread onlyblendOp_mask:Int = 29360128

@:value(22)staticinlineread onlyblendOp_offset:Int = 22

@:value(4)staticinlineread onlyblendSrc_bits:Int = 4

@:value(960)staticinlineread onlyblendSrc_mask:Int = 960

@:value(6)staticinlineread onlyblendSrc_offset:Int = 6

@:value(1)staticinlineread onlyculled_bits:Int = 1

@:value(536870912)staticinlineread onlyculled_mask:Int = 536870912

@:value(29)staticinlineread onlyculled_offset:Int = 29

@:value(2)staticinlineread onlyculling_bits:Int = 2

@:value(3)staticinlineread onlyculling_mask:Int = 3

@:value(0)staticinlineread onlyculling_offset:Int = 0

@:value(3)staticinlineread onlydepthTest_bits:Int = 3

@:value(56)staticinlineread onlydepthTest_mask:Int = 56

@:value(3)staticinlineread onlydepthTest_offset:Int = 3

@:value(1)staticinlineread onlydepthWrite_bits:Int = 1

@:value(4)staticinlineread onlydepthWrite_mask:Int = 4

@:value(2)staticinlineread onlydepthWrite_offset:Int = 2

@:value(1)staticinlineread onlydynamicParameters_bits:Int = 1

@:value(2)staticinlineread onlydynamicParameters_mask:Int = 2

@:value(1)staticinlineread onlydynamicParameters_offset:Int = 1

@:value(1)staticinlineread onlyenableLights_bits:Int = 1

@:value(1)staticinlineread onlyenableLights_mask:Int = 1

@:value(0)staticinlineread onlyenableLights_offset:Int = 0

@:value(1)staticinlineread onlyisStatic_bits:Int = 1

@:value(4)staticinlineread onlyisStatic_mask:Int = 4

@:value(2)staticinlineread onlyisStatic_offset:Int = 2

@:value(1)staticinlineread onlyreserved_bits:Int = 1

@:value(1073741824)staticinlineread onlyreserved_mask:Int = 1073741824

@:value(30)staticinlineread onlyreserved_offset:Int = 30

@:value(1)staticinlineread onlywireframe_bits:Int = 1

@:value(268435456)staticinlineread onlywireframe_mask:Int = 268435456

@:value(28)staticinlineread onlywireframe_offset:Int = 28

Static methods

staticinlinegetBatchMode(v:Int):Int

staticinlinegetBlendAlphaDst(v:Int):Int

staticinlinegetBlendAlphaOp(v:Int):Int

staticinlinegetBlendAlphaSrc(v:Int):Int

staticinlinegetBlendDst(v:Int):Int

staticinlinegetBlendOp(v:Int):Int

staticinlinegetBlendSrc(v:Int):Int

staticinlinegetCulled(v:Int):Int

staticinlinegetCulling(v:Int):Int

staticinlinegetDepthTest(v:Int):Int

staticinlinegetDepthWrite(v:Int):Int

staticinlinegetDynamicParameters(v:Int):Int

staticinlinegetEnableLights(v:Int):Int

staticinlinegetIsStatic(v:Int):Int

staticinlinegetReserved(v:Int):Int

staticinlinegetWireframe(v:Int):Int

Constructor

new(name:String, ?shaders:ShaderList, ?parent:Pass)

Variables

@:bits(bits)blendAlphaDst:Blend

@:bits(bits)blendAlphaSrc:Blend

@:bits(bits)blendDst:Blend

@:bits(bits)blendOp:Operation

@:bits(bits)blendSrc:Blend

@:bits(bits)culled:Bool

@:bits(bits)culling:Face

@:bits(bits)depthTest:Compare

@:bits(bits)depthWrite:Bool

@:bits(flags)dynamicParameters:Bool

Inform the pass system that the parameters will be modified in object draw() command, so they will be manually uploaded by calling RenderContext.uploadParams.

@:bits(flags)enableLights:Bool

@:bits(flags)isStatic:Bool

Mark the pass as static, this will allow some renderers or shadows to filter it when rendering static/dynamic parts.

@:value(0)layer:Int = 0

read onlyname:String

@:bits(bits)wireframe:Bool

Methods

addShader<T>(s:T):T

inlineblend(src:Blend, dst:Blend):Void

depth(write:Bool, test:Compare):Void

getShader<T>(t:Class<T>):T

getShaderByName(name:String):Shader

inlinegetShaders():ShaderIterator

load(p:Pass):Void

removeShaders<T>(t:Class<T>):Void

setColorMask(r:Bool, g:Bool, b:Bool, a:Bool):Void

setColorMaski(r:Bool, g:Bool, b:Bool, a:Bool, i:Int):Void

setPassName(name:String):Void