예제 #1
0
func GetDefaultShaderSource(platform, t uint32) string {
	return C.GoString(C.al_get_default_shader_source(C.ALLEGRO_SHADER_PLATFORM(platform), C.ALLEGRO_SHADER_TYPE(t)))
}
예제 #2
0
func CreateShader(platform uint32) *Shader {
	return (*Shader)(unsafe.Pointer(C.al_create_shader(C.ALLEGRO_SHADER_PLATFORM(platform))))
}