コード例 #1
0
CustomFilterProgramInfo CustomFilterProgram::programInfo() const
{
    ASSERT(isLoaded());
    return CustomFilterProgramInfo(vertexShaderString(), fragmentShaderString(), m_mixSettings);
}
コード例 #2
0
PassRefPtr<CustomFilterCompiledProgram> CustomFilterProgram::compileProgramWithContext(GraphicsContext3D* context)
{
    ASSERT(isLoaded());
    return CustomFilterCompiledProgram::create(context, vertexShaderString(), fragmentShaderString());
}