![]() |
• Graphics Manager | ||
|
API Links
Developer Links
|
Renderable::SetTransparentAttachmentDefined in:
Sets the transparent attachment.
C4Renderable.hPrototype
Parameters
Description
A renderable object may have another renderable object attached to it for the purpose of specifying a rendering order. The presence of an attachment qualifies a renderable object for transparent sorting, and an object is always rendered immediately before its attachment. This is useful when two transparent objects occupy the same space and one should always be behind the other.The SetTransparentAttachment function sets the object that is attached to a renderable. If the attachment parameter is nullptr, then the attachment is cleared.Initially, the transparent attachment is nullptr.
See Also
|