Esempio n. 1
0
        /// <summary>
        /// Get the resources that are bound to the runtime shaders for sampling Adaptive Probe Volume data.
        /// </summary>
        /// <returns>The resources to bind to runtime shaders.</returns>
        public RuntimeResources GetRuntimeResources()
        {
            RuntimeResources rr = new RuntimeResources();

            m_Index.GetRuntimeResources(ref rr);
            m_Pool.GetRuntimeResources(ref rr);
            return(rr);
        }
        /// <summary>
        /// Get the resources that are bound to the runtime shaders for sampling Adaptive Probe Volume data.
        /// </summary>
        /// <returns>The resources to bind to runtime shaders.</returns>
        public RuntimeResources GetRuntimeResources()
        {
            if (!m_ProbeReferenceVolumeInit)
            {
                return(default(RuntimeResources));
            }

            RuntimeResources rr = new RuntimeResources();

            m_Index.GetRuntimeResources(ref rr);
            m_Pool.GetRuntimeResources(ref rr);
            return(rr);
        }