예제 #1
0
        public GraphicsDevice()
        {
            PlatformConstruct();

            CommandQueue = AddDisposable(new CommandQueue(this));

            ShaderLibrary = AddDisposable(new ShaderLibrary(this));

            NullBufferShaderResourceView  = AddDisposable(ShaderResourceView.Create(this, (StaticBuffer <uint>)null));
            NullTextureShaderResourceView = AddDisposable(ShaderResourceView.Create(this, (Texture)null));
        }