Ejemplo n.º 1
0
        private JobHandle ResolveSharedGroups(JobHandle inputDeps)
        {
            AssignSharedValues <T> jobData = new AssignSharedValues <T> {
                buffer       = this.m_Buffer,
                source       = this.m_Source,
                sortedBuffer = this.m_SortedBuffer
            };

            return(jobData.Schedule <AssignSharedValues <T> >(inputDeps));
        }
        private JobHandle ResolveSharedGroups(JobHandle inputDeps)
        {
            var assignSharedValuesJob = new AssignSharedValues
            {
                workingBuffer   = m_WorkingBuffer,
                sourceBuffer    = m_SourceBuffer,
                sortBufferIndex = m_SortBufferIndex
            };
            var assignSharedValuesJobHandle = assignSharedValuesJob.Schedule(inputDeps);

            return(assignSharedValuesJobHandle);
        }
Ejemplo n.º 3
0
        private JobHandle ResolveSharedGroups(JobHandle inputDeps)
        {
            var assignSharedValuesJob = new AssignSharedValues
            {
                buffer       = m_Buffer,
                source       = m_Source,
                sortedBuffer = m_SortedBuffer
            };
            var assignSharedValuesJobHandle = assignSharedValuesJob.Schedule(inputDeps);

            return(assignSharedValuesJobHandle);
        }