abs
all
any
cos
ddx
ddy
dot
dst
exp
fma
lit
log
mad
max
min
mul
pow
rcp
sin
tan
Expand Minimize
1 out of 13 rated this helpful - Rate this topic

printf function

Submits a custom shader message to the information queue.

Syntax

void printf(
    string format,
     argument ...
);

Parameters

format

The format string.

argument ...

Optional arguments.

Remarks

This operation does nothing on devices that do not support it.

Minimum Shader Model

This function is supported in the following shader models.

Shader ModelSupported
Shader Model 4 (DirectX HLSL) or later. yes

 

 

 

Send comments about this topic to Microsoft

Build date: 3/5/2013

Community Additions

ADD
© 2013 Microsoft. All rights reserved.