Material

材質を表すinterfaceです.

Members

Functions

begin
Material begin()
end
Material end()
loadImage
Material loadImage(string pathInDataDir, string name)
shader
armos.graphics.Shader shader()
shader
Material shader(armos.graphics.Shader s)
texture
Material texture(string name, armos.graphics.Texture tex)
texture
armos.graphics.Texture texture(string name)
uniform
Material uniform(string name, int i)
uniform
Material uniform(string name, float f)
uniform
Material uniform(string name, Color c)
uniform
Material uniform(string name, Vector2f v)
uniform
Material uniform(string name, Vector3f v)
uniform
Material uniform(string name, Vector4f v)
uniform
Vector4f uniform(string name)

Meta