Replace explicit matrix uniforms with single ubo
This commit is contained in:
@@ -12,7 +12,6 @@ module Shader.Data
|
||||
, vaoVBO
|
||||
|
||||
, shaderProgram
|
||||
, shaderMatrixUniform
|
||||
, shaderVAO
|
||||
, shaderPokeStrategy
|
||||
, shaderDrawPrimitive
|
||||
@@ -45,7 +44,6 @@ data VBO = VBO
|
||||
{- | Datatype containing the necessary information for a single shader. -}
|
||||
data FullShader = FullShader
|
||||
{ _shaderProgram :: Program
|
||||
, _shaderMatrixUniform :: UniformLocation
|
||||
, _shaderVAO :: VAO
|
||||
, _shaderPokeStrategy :: RenderType -> [[Float]]-- -> F.FoldM IO RenderType Int
|
||||
, _shaderDrawPrimitive :: PrimitiveMode
|
||||
|
||||
Reference in New Issue
Block a user