issues
search
leod
/
posh
Type-Safe Graphics Programming with Functional Shaders
136
stars
2
forks
source link
Clean up ownership
#54
Closed
leod
closed
1 year ago
leod
commented
1 year ago
Get rid of the internal
*Shared
types that were
Rc
-ed in
gl::raw
.
Rc
s are now held explicitly by
gl
.
raw::Program::draw
takes bindings with internal
Rc
s rather than references.
Now, we have in both
gl::raw
and
gl
:
Objects are non-
Clone
.
Bindings are
Clone
.
*Shared
types that wereRc
-ed ingl::raw
.Rc
s are now held explicitly bygl
.raw::Program::draw
takes bindings with internalRc
s rather than references.gl::raw
andgl
:Clone
.Clone
.