Skip to content

Commit

Permalink
stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed May 8, 2024
1 parent c3677b5 commit 76509f0
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
9 changes: 9 additions & 0 deletions src/ruis/render/opengl/texture_depth.cpp
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:
}
20 changes: 18 additions & 2 deletions src/ruis/render/opengl/texture_depth.hpp
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

0 comments on commit 76509f0

Please sign in to comment.