dcl_textureType (Vertex Shader)
Declare a vertex shader sampler register.
Syntax
where:
- _textureType defines the texture type. This determines how many coordinates are required by each texture coordinate when sampling. The following texture dimensions are defined.
- s# identifies a sampler register. s is an abbreviation for the sampler register and # is the register number.
Remarks
Vertex shader versions | 1_1 | 2_0 | 2_x | 2_sw | 3_0 | 3_sw |
---|
dcl_textureType | | | | | x | x |
---|
All dcl_xxx instructions must appear before the first executable instruction.
Minimum operating system | Windows 98 |
---|