C3DMesh::SetCulling

Top  Previous  Next

Syntax:

 

SetCulling(int  mode)

 

Purpose:

Sets the culling mode for the mesh.

 

Parameters:

mode - The new culling mode.

 

Returned value(s):

None.

 

Application:

cube.SetCulling(D3DCULL_NONE)

 

Class Hierarchy

C3DObject

-------C3DMesh

 

Additional Info:

The default culling mode is D3DCULL_CCW. The culling modes define how back faces are culled when rendering a mesh.

 

See Also:

Culling Flags