Skip to content

SetSamplerAddressModeW

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

SetSamplerAddressModeW 〔BlitzLLVM〕

SetSamplerAddressModeW:Void sampler:Int32, mode:Int32
Parameter Mode Type Default Description
sampler In Int32 required The sampler to change.
mode In Int32 required The address mode, 0 to 3.

Description

〔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.

Differences

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

Related Commands

GetSamplerAddressModeW 〔BlitzLLVM〕, SetSamplerAddressModeU 〔BlitzLLVM〕, SetSamplerAddressModeV 〔BlitzLLVM〕, SetSamplerAnisotropy 〔BlitzLLVM〕, SetSamplerBorderColor 〔BlitzLLVM〕, SetSamplerFilterMag 〔BlitzLLVM〕, SetSamplerFilterMin 〔BlitzLLVM〕, SetSamplerFilterMip 〔BlitzLLVM〕

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally