A_SetStencilColor()

Moderator: GZDoom Developers

Post Reply
User avatar
SPZ1
Posts: 254
Joined: Wed Aug 02, 2017 3:01 pm
Location: Illinois
Contact:

A_SetStencilColor()

Post by SPZ1 »

A_SetStencilColor();

Self explanatory right? :shucks:

This is definitely Graf's department...
User avatar
phantombeta
Posts: 2088
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: A_SetStencilColor()

Post by phantombeta »

[wiki=SetShade]Already in.[/wiki]
User avatar
SPZ1
Posts: 254
Joined: Wed Aug 02, 2017 3:01 pm
Location: Illinois
Contact:

Re: A_SetStencilColor()

Post by SPZ1 »

What about overloading it like : SetShade(red, green, blue) ?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: A_SetStencilColor()

Post by Graf Zahl »

You mean like "SetShade(Color(r,g,b));" ?
User avatar
SPZ1
Posts: 254
Joined: Wed Aug 02, 2017 3:01 pm
Location: Illinois
Contact:

Re: A_SetStencilColor()

Post by SPZ1 »

Whatever way it works is fine with me !
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: A_SetStencilColor()

Post by Graf Zahl »

That function already exists. It's a function because it needs to do some bookkeeping for the software renderer when setting the value.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”