ID3D10Predicate interface
A predicate interface determines whether geometry should be processed depending on the results of a previous draw call.
Members
The ID3D10Predicate interface inherits from ID3D10Query but does not have additional members.
Remarks
A predicate can be created with ID3D10Device::CreatePredicate, and used with ID3D10Device::SetPredication.
There are two types of predicates in Direct3D 10: stream-output-overflow predicates and occlusion predicates. Stream-output-overflow predicates will cause any geometry residing in stream-output buffers that were overflowed to not be processed. Occlusion predicates will cause any geometry that did not have a single sample pass the depth/stencil tests to not be processed.
For an example of occlusion-predicated rendering, see Draw Predicated Sample.
Requirements
|
Header |
|
|---|---|
|
Library |
|
See also