dcl_samplerType (sm3 - vs asm)

Declare a vertex shader sampler.

Syntax

dcl_samplerType s#

 

where:

  • _samplerType defines the sampler data type. This determines how many coordinates are required by each texture coordinate when sampling. The following texture coordinate dimensions are defined.
    • _2d
    • _cube
    • _volume
  • s# identifies a sampler where s is an abbreviation for the sampler, and # is the sampler number. Sampler (Direct3D 9 asm-vs)s are pseudo registers because you cannot directly read or write to them.

Remarks

Vertex shader versions1_12_02_x2_sw3_03_sw
dcl_samplerTypexx

 

All dcl_samplerType instructions must appear before the first executable instruction.

Related topics

Vertex Shader Instructions

 

 

Show: