public int QueryCullResults(CullRequest.Set cullRequest, CullResult.Set cullResult) { if (m_Material == null || cullRequest.cullingGroup == null) { return(0); } return(cullResult.QueryIndices(m_Handles.Length, cullRequest.cullingGroup)); }
internal void SetCullResult(CullResult.Set value) { m_NumResults = value.numResults; if (m_ResultIndices.Length < m_NumResults) { Array.Resize(ref m_ResultIndices, m_NumResults); } Array.Copy(value.resultIndices, m_ResultIndices, m_NumResults); }