ID2D1RenderInfo::SetInstructionCountHint method
Provides an estimated hint of shader execution cost to D2D.
Syntax
void SetInstructionCountHint(
UINT32 instructionCount
);
Parameters
- instructionCount
-
Type: UINT32
An approximate instruction count of the associated shader.
Return value
This method does not return a value.
Remarks
The instruction count may be set according to the number of instructions in the shader. This information is used as a hint when rendering extremely large images. Calling this API is optional, but it may improve performance if you provide an accurate number.
Requirements
|
Minimum supported client |
Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|
|
Library |
|
See also