예제 #1
0
        public TextureView(
            Renderer renderer,
            TextureStorage parent,
            TextureCreateInfo info,
            int firstLayer,
            int firstLevel)
        {
            _renderer = renderer;
            _parent   = parent;
            _info     = info;

            FirstLayer = firstLayer;
            FirstLevel = firstLevel;

            Handle = GL.GenTexture();

            CreateView();
        }