Ends the scene.

Prototype declaration:


KMSTATUS KMAPI
kmEndScene(
		IN OUT  PKMSYSTEMCONFIGSTRUCT   pSystemConfigStruct
);

Description:

This function ends the scene.
This API is executed after all passes that are to be used have been registered and kmRender has 
been executed.
Operation is not guaranteed if this function is not called at the end of the scene.

(Example)
	kmBeginScene();
	  kmBeginPass();
		...
		...
		...
	  kmEndPass();
	  kmRender();
	kmEndScene();
Parameters:
pSystemConfigStruct(input)
        This parameter is a pointer to KMSYSTEMCONFIGSTRUCT.
Return values:
Value Explanation
KMSTATUS_SUCCESS Success