Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.hook.PreDrawOpaqueRenderables

C๐Ÿท๏ธ Hooks

Part of StarfallEx namespace

๐Ÿ”— External
hook.add("PreDrawOpaqueRenderables", "name", function(depth, skybox, skybox3d) end)
View on GitHub|lua/starfall/libs_cl/render.lua:262
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Called before opaque entities are drawn. (Only works with HUD) (3D context)

Parameters

NameTypeDescription
depthbooleanWhether the current draw is writing depth
skyboxbooleanWhether the current draw is drawing the skybox
skybox3dbooleanWhether the current draw is drawing the 3D skybox

Returns

TypeDescription
booleanReturn true to prevent opaque entities from drawing

Examples

No examples available.

Used In

No usages found in the codebase.