public GpuFinalDecoder(IPclWorkarounds pclWorkarounds, IClientSettings settings, IContext context) { this.pclWorkarounds = pclWorkarounds; fullTextureProcessor = new FullTextureProcessor(settings, context, FragmentShaderText, new[] { "DiffTexture", "PrevTextureDetailed", "PrevTextureMip" }); framebuffer = context.Create.Framebuffer(); mipInfoBuffer = context.Create.Buffer(BufferTarget.UniformBuffer, 16, BufferUsageHint.DynamicDraw); sampler = context.Create.Sampler(); }
public GpuDebugger(IPclWorkarounds pclWorkarounds, IClientSettings settings, IContext context) { this.pclWorkarounds = pclWorkarounds; fullTextureProcessor = new FullTextureProcessor(settings, context, FragmentShaderText, new[] { "Texture0", "Texture1" }); framebuffer = context.Create.Framebuffer(); mipInfoBuffer = context.Create.Buffer(BufferTarget.UniformBuffer, 16, BufferUsageHint.DynamicDraw); sampler = context.Create.Sampler(); }