Constructor
GskGLShadernew_from_resource
Declaration [src]
GskGLShader*
gsk_gl_shader_new_from_resource (
const char* resource_path
)
Parameters
resource_path |
const char* |
Path to a resource that contains the GLSL sourcecode for the shader. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. |
Return value
Returns: | GskGLShader |
A new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |