Texture.modernFragment
class Texture
@trusted
enum modernFragment =
"#version 330 core
in vec2 fragTexCoord;
uniform vec4 color = vec4(1.0, 1.0, 1.0, 1.0);
uniform sampler2D ctexture;
out vec4 fragColor;
void main()
{
fragColor = texture(ctexture, fragTexCoord) * color;
}
";
tida texture Texture
destructorsfunctionsmanifest constantspropertiesvariables