Beispiel #1
0
        /// <summary>
        /// Sets a profiling marker.
        /// </summary>
        /// <param name="color">The color.</param>
        /// <param name="formatName">Name of the format.</param>
        /// <param name="parameters">The parameters.</param>
        public void SetMarker(ColorBGRA color, string formatName, params object[] parameters)
        {
            if (!Enabled)
            {
                return;
            }
#if !W8CORE
            PixHelper.SetMarker(color, formatName, parameters);
#endif
            // TODO Add code for Direct3D11.1 annotation API
        }
Beispiel #2
0
        /// <summary>
        /// Sets a profiling marker.
        /// </summary>
        /// <param name="color">The color.</param>
        /// <param name="name">The name.</param>
        public void SetMarker(ColorBGRA color, string name)
        {
            if (!Enabled)
            {
                return;
            }
#if !W8CORE
            PixHelper.SetMarker(color, name);
#endif
            // TODO Add code for Direct3D11.1 annotation API
        }