Skip to content

GetCameraStencil

Narta Xaymar Dirks edited this page Nov 25, 2026 · 1 revision

GetCameraStencil

GetCameraStencil:Int32 camera:Int32
Parameter Mode Type Default Description
camera In Int32 required Camera handle.

Returns: 1 if the camera has a stencil, 0 if not.

Description

Tells whether a camera has a stencil buffer, as set with SetCameraStencil. This is a BlitzLLVM extension.

Examples

Graphics3D 320, 240, 0, 2
camera = CreateCamera()
SetCameraStencil camera, True
Print GetCameraStencil(camera)
WaitKey

Related Commands

CameraClsColor, GetCameraBuffer, GetCameraClipPlane, GetCameraClipPlaneEnabled, GetCameraProjectionMatrix, GetCameraViewMatrix, SetCameraStencil, SetCameraStencilClear

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally