Ejemplo n.º 1
0
CustomFilterProgramInfo CustomFilterProgram::programInfo() const
{
    ASSERT(isLoaded());
    return CustomFilterProgramInfo(vertexShaderString(), fragmentShaderString(), m_mixSettings);
}
Ejemplo n.º 2
0
PassRefPtr<CustomFilterCompiledProgram> CustomFilterProgram::compileProgramWithContext(GraphicsContext3D* context)
{
    ASSERT(isLoaded());
    return CustomFilterCompiledProgram::create(context, vertexShaderString(), fragmentShaderString());
}