Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D3DCOMPILE_EFFECT Constants

These constants direct how the compiler compiles an effect file or how the runtime processes the effect file.

D3DCOMPILE_EFFECT_CHILD_EFFECT
(1 << 0)

Compile the effects (.fx) file to a child effect. Child effects have no initializers for any shared values because these child effects are initialized in the master effect (the effect pool).

Note   Effect pools are supported by Effects 10 (FX10) but not by Effects 11 (FX11). For more info about differences between effect pools in Direct3D 10 and effect groups in Direct3D 11, see Effect Pools and Groups.  
D3DCOMPILE_EFFECT_ALLOW_SLOW_OPS
(1 << 1)

Disables performance mode and allows for mutable state objects.

By default, performance mode is enabled. Performance mode disallows mutable state objects by preventing non-literal expressions from appearing in state object definitions.

Requirements

Header

D3DCompiler.h

See also

D3DCompiler Constants

 

 

Show:
© 2016 Microsoft