MCPcopy Create free account
hub / github.com/ImageEngine/cortex / ToGLStateConverter

Method ToGLStateConverter

src/IECoreGL/ToGLStateConverter.cpp:226–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224ToGLConverter::ConverterDescription<ToGLStateConverter> ToGLStateConverter::g_description;
225
226ToGLStateConverter::ToGLStateConverter( IECore::ConstCompoundObjectPtr toConvert )
227 : ToGLConverter( "Converts IECore::CompoundObject objects to IECoreGL::State objects.", IECore::CompoundObjectTypeId )
228{
229 srcParameter()->setValue( boost::const_pointer_cast<IECore::CompoundObject>( toConvert ) );
230}
231
232ToGLStateConverter::~ToGLStateConverter()
233{

Callers 2

testMethod · 0.80
testShaderAttributeMethod · 0.80

Calls 1

setValueMethod · 0.45

Tested by 2

testMethod · 0.64
testShaderAttributeMethod · 0.64