예제 #1
0
        // Methods --------------------------------------------------------------------
        public CaelumSkydome(CaelumItem item)
        {
            Initialise(RenderQueueGroupID.SkiesEarly + 1, item.Mesh, item.Scale, item.Rotation);

            Pass pass = MainMaterial.GetBestTechnique().Passes[0];
            mShadersEnabled = !(string.IsNullOrEmpty(pass.FragmentProgramName) ||
                                string.IsNullOrEmpty(pass.VertexProgramName));

            mInstance = this;
        }
예제 #2
0
 public override void Dispose()
 {
     base.Dispose();
     mInstance = null;
 }