Shader.isAvailable

Tell whether or not the system supports shaders.

This function should always be called before using the shader features. If it returns false, then any attempt to use DSFML Shader will fail.

class Shader
static
bool
isAvailable
(
)

Return Value

Type: bool

true if shaders are supported, false otherwise

Meta