Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GFXDepthStencilState

GFX深度模板状态。

Hierarchy

  • GFXDepthStencilState

Index

Properties

depthFunc

depthFunc: GFXComparisonFunc = GFXComparisonFunc.LESS

depthTest

depthTest: boolean = true

depthWrite

depthWrite: boolean = true

stencilFailOpBack

stencilFailOpBack: GFXStencilOp = GFXStencilOp.KEEP

stencilFailOpFront

stencilFailOpFront: GFXStencilOp = GFXStencilOp.KEEP

stencilFuncBack

stencilFuncBack: GFXComparisonFunc = GFXComparisonFunc.ALWAYS

stencilFuncFront

stencilFuncFront: GFXComparisonFunc = GFXComparisonFunc.ALWAYS

stencilPassOpBack

stencilPassOpBack: GFXStencilOp = GFXStencilOp.KEEP

stencilPassOpFront

stencilPassOpFront: GFXStencilOp = GFXStencilOp.KEEP

stencilReadMaskBack

stencilReadMaskBack: number = 65535

stencilReadMaskFront

stencilReadMaskFront: number = 65535

stencilRefBack

stencilRefBack: number = 1

stencilRefFront

stencilRefFront: number = 1

stencilTestBack

stencilTestBack: boolean = false

stencilTestFront

stencilTestFront: boolean = false

stencilWriteMaskBack

stencilWriteMaskBack: number = 65535

stencilWriteMaskFront

stencilWriteMaskFront: number = 65535

stencilZFailOpBack

stencilZFailOpBack: GFXStencilOp = GFXStencilOp.KEEP

stencilZFailOpFront

stencilZFailOpFront: GFXStencilOp = GFXStencilOp.KEEP

Methods

compare

  • 比较函数。

    Parameters

    Returns boolean

Generated using TypeDoc