| // Copyright 2016 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef EXAMPLES_SHADOWS_PENUMBRA_PROGRAM_H_ |
| #define EXAMPLES_SHADOWS_PENUMBRA_PROGRAM_H_ |
| #include "examples/shadows/vfx/program.h" |
| #include "examples/shadows/vfx/shader.h" |
| GLuint id() const { return program_.id(); } |
| void Use(const glm::mat4& transform, const glm::vec2& inverse_size); |
| vfx::Shader vertex_shader_; |
| vfx::Shader fragment_shader_; |
| DISALLOW_COPY_AND_ASSIGN(PenumbraProgram); |
| #endif // EXAMPLES_SHADOWS_PENUMBRA_PROGRAM_H_ |