Пример #1
0
        private static IntPtr Create(Context context, CodecID codecID, ProductionNode initializer)
        {
            IntPtr nodeHandle;
            UInt32 status = OpenNIImporter.xnCreateCodec(context.InternalObject, codecID.InternalValue, initializer.InternalObject, out nodeHandle);

            WrapperUtils.CheckStatus(status);
            return(nodeHandle);
        }