armos v0.2.4 (2017-08-20T09:34:11Z)
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
clearLog
disableAttrib
disableAttribs
enableAttrib
enableAttribs
end
geometryInput
geometryOutput
id
isLoaded
load
loadFiles
loadSources
log
maxGeometryOutputVertices
maximizeMaxGeometryOutputVertices
uniform
uniformArray
uniformLocation
uniformTexture
Load the shader from sources