Inheritance: IRenderableMaterial
Beispiel #1
0
        protected override void Initialize(IDeviceContextHolder contextHolder)
        {
            base.Initialize(contextHolder);

            _material = contextHolder.Get <SharedMaterials>().GetMaterial(BasicMaterials.DepthOnlyKey);
            _material.EnsureInitialized(contextHolder);
            _materialDepth = _material as Kn5MaterialDepth;
        }