Panda3D
Functions
scissorAttrib.I File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

Go to the source code of this file.

Functions

 CPT (RenderAttrib) ScissorAttrib
 Constructs a ScissorAttrib that restricts rendering to the indicated frame within the current DisplayRegion. More...
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2008-07-29

Definition in file scissorAttrib.I.

Function Documentation

◆ CPT()

CPT ( RenderAttrib  )
inline

Constructs a ScissorAttrib that restricts rendering to the indicated frame within the current DisplayRegion.

(0,0) is the lower-left corner of the DisplayRegion, and (1,1) is the upper-right corner.

Definition at line 19 of file scissorAttrib.I.