Home -> IStateBuffer -> SetPerformanceHints
Description
The SetPerformanceHints method provides hints to the renderer about how this object will be used. Correct use of hints is important to optimize performance.
Usage
void SetPerformanceHints(PerformanceHint performanceHintCpu, PerformanceHint performanceHintGpu);
Argument list
- performanceHintCpu [PerformanceHint]
- The hint describing how the CPU is expected to read from or write to the resource.
- performanceHintGpu [PerformanceHint]
- The hint describing how the GPU is expected to read from or write to the resource.