mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-21 03:54:57 +01:00
Draw the depth of the whole scene before its colour
This commit is contained in:
@@ -153,6 +153,8 @@ public:
|
||||
auto vertices( gfx::geometry_handle const &Geometry ) const -> gfx::vertex_array const &;
|
||||
// provides direct access to vertex user data of specfied chunk
|
||||
auto userdata( gfx::geometry_handle const &Geometry ) const -> gfx::userdata_array const &;
|
||||
// primitive type of specified chunk, 0 if there's no such chunk
|
||||
auto type( gfx::geometry_handle const &Geometry ) const -> unsigned int;
|
||||
|
||||
protected:
|
||||
// types:
|
||||
@@ -260,6 +262,8 @@ public:
|
||||
auto vertices( gfx::geometry_handle const &Geometry ) const -> gfx::vertex_array const &;
|
||||
// provides direct access to vertex data of specfied chunk
|
||||
auto userdata( gfx::geometry_handle const &Geometry ) const -> gfx::userdata_array const &;
|
||||
// primitive type of specified chunk, 0 if there's no such chunk
|
||||
auto type( gfx::geometry_handle const &Geometry ) const -> unsigned int;
|
||||
// sets target texture unit for the texture data stream
|
||||
auto units() -> gfx::stream_units & { return m_units; }
|
||||
// provides access to primitives count
|
||||
|
||||
Reference in New Issue
Block a user