mUniformMetadata[ index ]->SetCoordinateType( type );
}
-void Shader::SetProgram( Integration::ResourceId resourceId,
- Integration::ShaderDataPtr shaderData,
- ProgramCache* programCache,
- bool modifiesGeometry )
-{
- DALI_LOG_TRACE_METHOD_FMT(Debug::Filter::gShader, "%d\n", resourceId);
-
- mProgram = Program::New( *programCache, shaderData, modifiesGeometry );
- // The program cache owns the Program object so we don't need to worry here.
-}
-
void Shader::SetProgram( Integration::ShaderDataPtr shaderData,
ProgramCache* programCache,
bool modifiesGeometry )
*/
void SetCoordinateTypeInRender( unsigned int index, Dali::ShaderEffect::UniformCoordinateType type );
- /**
- * @brief Set the program for this shader.
- * @param[in] resourceId The resource ID for the program.
- * @param[in] shaderData The program's vertex/fragment source and optionally precompiled shader binary.
- * @param[in] programCache Owner of the Programs.
- * @param[in] modifiesGeometry True if the vertex shader changes the positions of vertexes such that
- * they might exceed the bounding box of vertexes passing through the default transformation.
- */
- void SetProgram( Integration::ResourceId resourceId,
- Integration::ShaderDataPtr shaderData,
- ProgramCache* programCache,
- bool modifiesGeometry );
-
/**
* @brief Set the program for this shader.
* @param[in] shaderData The program's vertex/fragment source and optionally precompiled shader binary.