コード例 #1
0
        public OGLRasterizer()
        {
            VertexBuffers = new int[32];

            VboCache = new OGLCachedResource <int>(GL.DeleteBuffer);
            IboCache = new OGLCachedResource <int>(GL.DeleteBuffer);

            IndexBuffer = new IbInfo();
        }
コード例 #2
0
 public OGLTexture()
 {
     TextureCache = new OGLCachedResource <TCE>(DeleteTexture);
 }
コード例 #3
0
 public OGLTexture()
 {
     TextureCache = new OGLCachedResource <ImageHandler>(DeleteTexture, MaxTextureCacheSize);
 }
コード例 #4
0
 public OGLConstBuffer()
 {
     Cache = new OGLCachedResource <OGLStreamBuffer>(DeleteBuffer, MaxConstBufferCacheSize);
 }