Skip to content

SetSamplerAddressModeW

Claude edited this page Oct 27, 2026 · 5 revisions

SetSamplerAddressModeW 〔BlitzLLVM〕

Command Index · Blitz3D · Textures

SetSamplerAddressModeW sampler%, mode%

〔BlitzLLVM〕 This command does not exist in the original Blitz products. BlitzLLVM adds it.

Chooses what is read where the depth texture coordinate (w), which flat textures do not use is not between 0 and 1. The modes are the ones of SetSamplerAddressModeU: 0 repeat, 1 mirror, 2 clamp, 3 border (SetSamplerBorderColor). This is a BlitzLLVM extension: the originals read every texture with the settings of its flags and do not have samplers.

Parameter Type Default Description
sampler Int required The sampler to change.
mode Int required The address mode, 0 to 3.

Differences and known gaps:

  • The mode has to be 0 to 3, other values stop the program with an error.

Related commands

Command Index · Blitz3D · Textures

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally