DX10DepthStencil

Type:
Real Time Shader
Spdl File:
%XSI_HOME%\Application\phenolib\spdl\directx10\DX10DepthStencil.spdl
Number of parameters:
16
Number of connectable parameters:
1
Outputs:
1
Associated library (.dll or .so):
DirectX10_Shaders
Entry point in library:
DX10DepthStencil

Parameter Name

Scriptname

Description

Valid Values

Data
Type

Range

UI Range

out

out

realtime

rtrendercontext

DirectX10_Shaders

DirectX10_Shaders

DirectX10_Shaders

String

DX10DepthStencil

DX10DepthStencil

DX10DepthStencil

String

previous

previous

realtime

rtrendercontext

depthenable

depthenable

Depth enable

Bool

depthwritemask

depthwritemask

Depth write mask

0

None of the depth stencil is writable

1

All of the depth stencil is writable

Integer

depthfunc

depthfunc

Depth comparison function

1

Never (Result = 0)

2

Less (Result = Source < Destination)

3

Equal (Result = Source == Destination)

4

LessEqual (Result = Source <= Destination)

5

Greater (Result = Source > Destination)

6

NotEqual (Result = Source != Destination)

7

GreaterEqual (Result = Source >= Destination)

8

Always (Result = 1)

Integer

stencilenable

stencilenable

Stencil enable

Bool

stencilreadmask

stencilreadmask

Stencil read mask

Integer

stencilwritemask

stencilwritemask

stencil write mask

Integer

stencilfrontfailop

stencilfrontfailop

Stencil comparison function for front facing pixels

1

Keep (Result = Buffer)

2

0 (Result = 0)

3

Replace (Result = Reference)

4

Increment Saturate (Result = clamp(Buffer + 1))

5

Decrement Saturate (Result = clamp(Buffer - 1))

6

Invert (Result = inverts the bits in Buffer)

7

Increment (Result = Buffer + 1)

8

Decrement (Result = Buffer - 1)

Integer

stencilfrontdepthfailop

stencilfrontdepthfailop

Stencil comparison function for front facing pixels

1

Keep (Result = Buffer)

2

0 (Result = 0)

3

Replace (Result = Reference)

4

Increment Saturate (Result = clamp(Buffer + 1))

5

Decrement Saturate (Result = clamp(Buffer - 1))

6

Invert (Result = inverts the bits in Buffer)

7

Increment (Result = Buffer + 1)

8

Decrement (Result = Buffer - 1)

Integer

stencilfrontpassfailop

stencilfrontpassfailop

Stencil comparison function for front facing pixels

1

Keep (Result = Buffer)

2

0 (Result = 0)

3

Replace (Result = Reference)

4

Increment Saturate (Result = clamp(Buffer + 1))

5

Decrement Saturate (Result = clamp(Buffer - 1))

6

Invert (Result = inverts the bits in Buffer)

7

Increment (Result = Buffer + 1)

8

Decrement (Result = Buffer - 1)

Integer

stencilfrontfunc

stencilfrontfunc

Stencil comparison function for front facing pixels

1

Never (Result = 0)

2

Less (Result = Source < Destination)

3

Equal (Result = Source == Destination)

4

LessEqual (Result = Source <= Destination)

5

Greater (Result = Source > Destination)

6

NotEqual (Result = Source != Destination)

7

GreaterEqual (Result = Source >= Destination)

8

Always (Result = 1)

Integer

stencilbackfailop

stencilbackfailop

Stencil comparison function for back facing pixels

1

Keep (Result = Buffer)

2

0 (Result = 0)

3

Replace (Result = Reference)

4

Increment Saturate (Result = clamp(Buffer + 1))

5

Decrement Saturate (Result = clamp(Buffer - 1))

6

Invert (Result = inverts the bits in Buffer)

7

Increment (Result = Buffer + 1)

8

Decrement (Result = Buffer - 1)

Integer

stencilbackdepthfailop

stencilbackdepthfailop

Stencil comparison function for back facing pixels

1

Keep (Result = Buffer)

2

0 (Result = 0)

3

Replace (Result = Reference)

4

Increment Saturate (Result = clamp(Buffer + 1))

5

Decrement Saturate (Result = clamp(Buffer - 1))

6

Invert (Result = inverts the bits in Buffer)

7

Increment (Result = Buffer + 1)

8

Decrement (Result = Buffer - 1)

Integer

stencilbackpassfailop

stencilbackpassfailop

Stencil comparison function for back facing pixels

1

Keep (Result = Buffer)

2

0 (Result = 0)

3

Replace (Result = Reference)

4

Increment Saturate (Result = clamp(Buffer + 1))

5

Decrement Saturate (Result = clamp(Buffer - 1))

6

Invert (Result = inverts the bits in Buffer)

7

Increment (Result = Buffer + 1)

8

Decrement (Result = Buffer - 1)

Integer

stencilbackfunc

stencilbackfunc

Stencil comparison function for back facing pixels

1

Never (Result = 0)

2

Less (Result = Source < Destination)

3

Equal (Result = Source == Destination)

4

LessEqual (Result = Source <= Destination)

5

Greater (Result = Source > Destination)

6

NotEqual (Result = Source != Destination)

7

GreaterEqual (Result = Source >= Destination)

8

Always (Result = 1)

Integer

stencilref

stencilref

Stencil reference

Integer



Autodesk Softimage v7.5