m_DepthPyramidBuffer=RTHandle.Alloc(size=>CalculatePyramidSize(size),filterMode:FilterMode.Trilinear,colorFormat:RenderTextureFormat.RFloat,sRGB:false,useMipMap:true,autoGenerateMips:false,enableRandomWrite:true,name:"DepthPyramid");// Need randomReadWrite because we downsample the first mip with a compute shader.
m_DepthPyramidBuffer=RTHandle.Alloc(size=>CalculatePyramidSize(size),filterMode:FilterMode.Trilinear,colorFormat:RenderTextureFormat.RGFloat,sRGB:false,useMipMap:true,autoGenerateMips:false,enableRandomWrite:true,name:"DepthPyramid");// Need randomReadWrite because we downsample the first mip with a compute shader.