-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#include "texture_depth.hpp" | ||
|
||
using namespace ruis::render::opengl; | ||
|
||
texture_depth::texture_depth(r4::vector2<uint32_t> dims) : | ||
ruis::render::texture_depth(dims) | ||
{ | ||
// TODO: | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,24 @@ | ||
#pragma once | ||
|
||
#include <ruis/render/texture_depth.hpp> | ||
|
||
#include "opengl_texture.hpp" | ||
|
||
namespace ruis::render::opengl { | ||
|
||
class texture_depth : public ruis::render::texture_depth | ||
{}; | ||
class texture_depth : | ||
public opengl_texture, // | ||
public ruis::render::texture_depth | ||
{ | ||
texture_depth(r4::vector2<uint32_t> dims); | ||
|
||
texture_depth(const texture_depth&) = delete; | ||
texture_depth& operator=(const texture_depth&) = delete; | ||
|
||
texture_depth(texture_depth&&) = delete; | ||
texture_depth& operator=(texture_depth&&) = delete; | ||
|
||
~texture_depth() = default; | ||
}; | ||
|
||
} // namespace ruis::render::opengl |