avoiding Context3DProfile enum for backwards compatibility (closes #306)