Skip to content

GetSurfaceBrush

Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions
Blitz3D

GetSurfaceBrush

GetSurfaceBrush:Int32 surface:Int32
Parameter Mode Type Default Description
surface In Int32 required The surface.

Returns: A brush handle.

Description

Makes a new brush that has the look that was painted on a mesh surface. Free it with FreeBrush afterwards.

Differences

  • A surface that was never painted gives a plain white brush.

Related Commands

BrushAlpha, BrushBlend, BrushColor, CreateBrush, FreeBrush, GetBrushTexture, GetEntityBrush, LoadBrush

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally