LogicOp
Keywords: LogicOp, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> LogicOp - 3D API logic op

> ## Usage

> LogicOp = int(op)

> ## Valid Enumerants

> op: Clear, And, AndReverse, Copy, AndInverted, Noop, Xor, Or, Nor, Equiv, Invert, OrReverse, CopyInverted, Nand, Set

> ## Description

> Specify a logical pixel operation for fragment color and color buffer values. See the OpenGL glLogicOp manual page for details.

> The standard reset callback sets the LogicOp state to int(Copy).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> Not applicable.

> ## See Also

> ColorLogicOpEnable, LogicOpEnable