public RasterizerStateLoader(Graphics.Device device)
            : base(new Type[]
            {
                typeof(Graphics.RasterizerState)
            })
        {
            #if ASSERT
            if (device == null)
            {
                throw new ArgumentNullException("device");
            }
            #endif

            this.device = device;
        }
        public VertexShaderLoader(Graphics.Device device)
            : base(new Type[]
            {
                typeof(Graphics.Shaders.VertexShader)
            })
        {
            #if ASSERT
            if (device == null)
            {
                throw new ArgumentNullException("device");
            }
            #endif

            this.device = device;
        }
Example #3
0
        public TextureLoader(Graphics.Device device)
            : base(new Type[]
            {
                typeof(Graphics.Texture2d)
            })
        {
            #if ASSERT
            if (device == null)
            {
                throw new ArgumentNullException("device");
            }
            #endif

            this.device = device;
        }
Example #4
0
        public MeshLoader(Graphics.Device device)
            : base(new Type[]
            {
                typeof(Graphics.Mesh),
                typeof(Graphics.MeshGroup)
            })
        {
            #if ASSERT
            if (device == null)
            {
                throw new ArgumentNullException("device");
            }
            #endif

            this.device = device;
        }