armos v0.2.1 (2017-07-28T07:17:22Z)
Dub
Repo
Shader.loadSources
armos
graphics
shader
Shader
Load the shader from sources
Shader
loadSources
(string vertexShaderSourceText, string geometryShaderSourceText, string fragmentShaderSourceText, string[] paths)
Shader
loadSources
(Source vertexShaderSource, Source geometryShaderSource, Source fragmentShaderSource, string[] paths)
class
Shader
Shader
loadSources
(
Source
vertexShaderSource
,
Source
geometryShaderSource
,
Source
fragmentShaderSource
,
in
string
[]
paths
= []
)
Meta
Source
See Implementation
armos
graphics
shader
Shader
constructors
this
destructors
~this
functions
attr
attrLocation
attribNames
begin
disableAttrib
disableAttribs
enableAttrib
enableAttribs
end
geometryInput
geometryOutput
id
isLoaded
load
loadFiles
loadSources
log
maxGeometryOutputVertices
maximizeMaxGeometryOutputVertices
uniform
uniformArray
uniformLocation
uniformTexture
Load the shader from sources