Пример #1
0
        public virtual VFXExpressionMapper GetExpressionMapper(VFXDeviceTarget target)
        {
            if (target == VFXDeviceTarget.GPU)
            {
                return(VFXExpressionMapper.FromContext(this));
            }

            return(null);
        }
Пример #2
0
        public override VFXExpressionMapper GetExpressionMapper(VFXDeviceTarget target)
        {
            if (target == VFXDeviceTarget.CPU)
            {
                return(VFXExpressionMapper.FromContext(this));
            }

            return(null);
        }