GSC reference › Built-in

SetFilterPassCodeTexture()

Built-in (engine) Client Gfx

Sets a code texture for a filter pass - the tetxure has be to created beforehand

Signature

SetFilterPassCodeTexture(<localClientNum>, <filterIndex>, <passIndex>, <texture Index>, <texture name>)

Parameters

NameRequired?Details
localClientNumRequired
filterIndexRequired Must be between 0 - 3
passIndexRequired Must be between 0 - 15
texture IndexRequired Must be between 0 - 1
texture nameRequired has to have been created by captureFrame() before - if empty string sets to null.

Example (from Treyarch's docs)

SetFilterPassMaterial( self.localClientNum, 1, 12, 0, "myBundle")

Real uses in BO3's scripts

Called 10 times in the decompiled scripts. A few, zombies first:

Related built-ins

New to GSC?

Start with the basics, or paste a compile error to get the fix.

Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).