// 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; }
public override void Dispose() { base.Dispose(); mInstance = null; }