/* For future needs. int iDepthBias; float fDepthBiasClamp; float fSlopeScaledDepthBias; bool bDepthClipEnable; */ public TRasterizerStateDesc(byte dummy) { bWireframe = false; eCullMode = E_POLYGON_CULL_MODE.PCM_NONE; bFrontCounterClockwise = true; bScissorEnable = false; bAlphaTestEnable = false; eAlphaTestFunc = E_COMPARISON_FUNC.CF_GREATER; fAlphaTestRefValue = 0.25f; }
/* For future needs. bool bStencilEnable; uint8 ui8StencilReadMask; uint8 ui8StencilWriteMask; TStencilFaceDesc stFrontFace, stBackFace; */ public TDepthStencilDesc(byte dummy) { bDepthTestEnable = true; bWriteToDepthBuffer = true; eDepthFunc = E_COMPARISON_FUNC.CF_LESS_EQUAL; }