Exemplo n.º 1
0
        public static VRenderResources Get(VRPAsset asset, int id)
        {
            VRenderResources res;

            instance.m_CameraTable[id] = 10;
            if (!instance.m_LookupTable.TryGetValue(id, out res))
            {
                res = new VRenderResources(asset, id);
                instance.m_LookupTable.Add(id, res);
            }
            return(res);
        }
Exemplo n.º 2
0
 public void AllocateResources(VRenderResources resources)
 {
     m_renderResources = resources;
 }