materialsystem/shaderapidx9/shaderapidx8.cpp
D3DCULL CShaderAPIDx8::GetCullMode() const
{
	Assert( m_pMaterial );

	if ( m_pMaterial->GetMaterialVarFlag( MATERIAL_VAR_NOCULL ) )
		return D3DCULL_NONE;

	return m_DynamicState.m_DesiredCullMode;
}
//-----------------------------------------------------------------------------
// Returns the current cull mode of the current material (for selection mode only)
//-----------------------------------------------------------------------------
Returns the current cull mode of the current material (for selection mode only)
Returns the current cull mode of the current material ( for selection mode only )
D3DCULL CShaderAPIDx8::GetCullMode() const
{
	Assert( m_pMaterial );
	if ( m_pMaterial->GetMaterialVarFlag( MATERIAL_VAR_NOCULL ) )
		return D3DCULL_NONE;
	return m_DynamicState.m_DesiredCullMode;
}
D3DCULL CShaderAPIDx8 :: GetCullMode ( ) const { Assert ( m_pMaterial ) ; if ( m_pMaterial -> GetMaterialVarFlag ( MATERIAL_VAR_NOCULL ) ) return D3DCULL_NONE ; return m_DynamicState . m_DesiredCullMode ; }
Returns the current cull mode of the current material (for selection mode only)
Returns the current cull mode of the current material ( for selection mode only )